I have two dropdownlists inside an ASP.Net AJAX Update Panel. One dropdownlist populates the second through a postback when a user selects a value from the first, and this all works well. However, the problem I have is that I am unable to grab the selectedvalue from the second dropdownlist, by this I mean it always selects the first item rather than the actual selected value.
I have looked at moving the populating the second dropdownlist to If Not IsPostBack Then on the page load, but this then stops the populating of that dropdownlist when the AJAX Update Panel does a partial postback.
So, there is away out of this?
Thanks