This is a migrated thread and some comments may be shown as answers.

OnClientTransferred event

1 Answer 54 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 08 Oct 2012, 09:00 PM
I noticed that the OnClientTransferred event does not happen at the very end of the transfer cycle. After the event is fired, there is code being executed which selects the next item on the list. I am trying to clear the selection after transferring items over to the other side, but the code that executes afterwards selects the item anyway. Is there any way to accomplish what I'm trying to do?

1 Answer, 1 is accepted

Sort by
0
Daniel
Top achievements
Rank 1
answered on 09 Oct 2012, 01:59 PM
In case anyone else is wondering, I got this to work by setting a variable when the OnClientTransferred event is raised and checking that variable in the OnClientSelectedIndexChanging event and if it was set, reset the variable and cancel the event.
Tags
ListBox
Asked by
Daniel
Top achievements
Rank 1
Answers by
Daniel
Top achievements
Rank 1
Share this question
or