M
mosscliffe
I have a listbox, with a code behind on SelectedIndexChanged
This works well, except for one condition.
On returning to the listbox after PostBack, the previous selection is
still highlighted. This is how I want it as it tells the user, which
was his previous selection.
The problem i have, is that if the user reselects the previous
selection, which can be done for a valid reason, the
SelectedIndexChanged does not get called.
What property do I need to test, for in effect the selection click
event, rather than the indexchanged event, as I very much want to
retain the Previous Selected item.
I hope this is clear.
In other words how can I trap the selection, rather than the index
changing.
Thanks for all your previous help in the past - I am getting there - be
it rather slowly.
Richard
This works well, except for one condition.
On returning to the listbox after PostBack, the previous selection is
still highlighted. This is how I want it as it tells the user, which
was his previous selection.
The problem i have, is that if the user reselects the previous
selection, which can be done for a valid reason, the
SelectedIndexChanged does not get called.
What property do I need to test, for in effect the selection click
event, rather than the indexchanged event, as I very much want to
retain the Previous Selected item.
I hope this is clear.
In other words how can I trap the selection, rather than the index
changing.
Thanks for all your previous help in the past - I am getting there - be
it rather slowly.
Richard