D
Dirk Meusel
Background:
On my webform a simple datalist shows one column. The databind is done
in the page_load event. In the ItemTemplate a linkbutton serves for
providing the Select Command.
Problem:
When I click a item to be selected, the datalist applies the
SelectedItemStyle on that Item, but not the SelectedItemTemplate. When
I click the same Item a second time asp.net applies both the
SelectedItemStyle and the SelectedItemTemplate, but does not fire the
OnSelectedItemChanged event.
What is to do to select the item with the first click properly???
On my webform a simple datalist shows one column. The databind is done
in the page_load event. In the ItemTemplate a linkbutton serves for
providing the Select Command.
Problem:
When I click a item to be selected, the datalist applies the
SelectedItemStyle on that Item, but not the SelectedItemTemplate. When
I click the same Item a second time asp.net applies both the
SelectedItemStyle and the SelectedItemTemplate, but does not fire the
OnSelectedItemChanged event.
What is to do to select the item with the first click properly???