Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

Cannot assign -1 to a dropdown's SelectedIndex

$
0
0

Hi,

I have a asp:dropdownlist control in my aspx page, I tried to set the SelectedIndex = -1, however, it doesn't let me, it stays at "0", first item. But I am able to set the index to any number like 4. Am I missing anything?

Thanks in advance.


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>