Reputation: 55
I need to display the grid View populated with some data on selected index change event of a Drop Down List .
It will be fine when selecting other index values from the drop down list at first time.
but when selecting first index value at first time ,the selected value returns nothing.
how to get the selected value from the drop down list on first click.
Upvotes: 0
Views: 776
Reputation: 4864
Don't set SelectedValue
or SelectedIndex
while populating/binding the DropDownList.
Upvotes: 1