I have a webdropdown control bound to a dataset. Whenever I select a different item from dropdown item, the webdropdown.currentvalue is updated. However, the webdropdown.SelectedValue and webdropdown.SelectedItem remains the before. What do I need to do in order to get current item selection.
Thanks!
Hey,
How do you check SelectedValue / SelectedItem ? do you do a postback, and check that in a specific event on the server-side ? Or do you check everything on the client. Some markup and code-behind could additionally help me.
Thank you,
Angel
Thanks a lot. I created another web page and copy the dropdown list there and it worked. I still have no clue as why it didn't worked the fist time and now it worked.
this is an ajax control and this property is already marked as obsolete?
Where is the documentation that says what properties are obsolete? It would help in the future to know these things..
I'll try this. Thank you!
Hi,
I would recommend to use the AutoPostBackFlags settings for the SelectionChanged or ValueChanged events. The AutoPostBack property will also do the job, but it has been marked as Obsolete.