M
Martin
I find this hard to believe, but it appears the DropDownList control has a
bug.
I have a page that simply uses a SqlDataSource to populate the ddl, and then
triggers a SelectedIndexChanged event.
The ddl is configured to autopostback.
Trouble is, in the SelectedIndexChanged event handler, the ddl no longer
has any items, so I can't reference the selected value or index.
EnableViewState is set to true (in the properties window), so I should have
thought it's items would have been retained.
Same technique works for a ListBox control.
Has anyone else had this problem?
Is there a patch for it??
Thanks
Martin
bug.
I have a page that simply uses a SqlDataSource to populate the ddl, and then
triggers a SelectedIndexChanged event.
The ddl is configured to autopostback.
Trouble is, in the SelectedIndexChanged event handler, the ddl no longer
has any items, so I can't reference the selected value or index.
EnableViewState is set to true (in the properties window), so I should have
thought it's items would have been retained.
Same technique works for a ListBox control.
Has anyone else had this problem?
Is there a patch for it??
Thanks
Martin