I have DropDownList that I have to populate in an event associated with a click event of another control.. the data is populated and present but when I select a value and postba
When are you databinding the GridView
which is the container of the DropDownList
? Do you have wrapped it in a if(!IsPostBack)
-check? When you databind the GridView
the child controls are always "resetted".
If you use a declarative databound control like ObjectDataSource
you should avoid this.databind()
if it's not necessary.