I have a webpage built in ASP .NET 2.0 (Visual Studio .NET 2005). My development machine has Windows .NET 2003 server.
The webform has a drop-down list. The drop-down list has AutoPostBack set to true. EnableViewState is set to true on the drop-down list control as well as on the web form.
When I select a value in the drop-down list, the page posts back and the code in the SelectedIndexChanged event handler get executed but when the webpage is reloaded - the first value in the list is selected. I cannot get the value I have selected to stay selected? How do I fix this?
Saad