Hi,
I have a problem with the dropdownlist control in my asp.net project.If i select any item in the dropdownlist it is not displaying that selected item,it displays the first index,but when i select any item for the second time it displays the selected item correctly.And I have set autopostback property true and page.ispostback property false also, how to solve this problem.please help me
Thanks in advance
Problem with dropdownlist control
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Roei BarRank #1,271 · 1.4K reputationPosted Oct 7, 2009, 9:57 PM EDT
again, this is why it is being loaded and set to first index, you need to enableViewState and only then keep the autopostback and onchange event