Hello,
Hopefully, someone will be able to point me in the right direction - as I'm fairly new to using Telerik UI... (all actions below are client-side).
I have set up 2 listboxes with only "TransferFrom" and "TransferAllFrom" enabled on RadListBox1 and "Delete" on RadListBox2.
RadListBox1 "TransferMode" is set to COPY, so I have told it to disable any items in RadListBox1 if they are present in RadListBox2.
It works great, but a problem arises with onClientTansferred Event when you do the following:
1. Transfer All items in RadListBox1 to RadListBox2 (all items in RadListBox1 are now disabled with "set_enabled(false)")
2. Delete one of the items in RadListBox2 (the item is then removed from RadListBox2, and enabled again in RadListBox1 with "set_enabled(true)")
3. Click the "All to Right" button...
This wierdly, doesn't seem to fire the onClientTransferred or onClientTransferring Events? But will successfully copy the items over!
If you click the individual "Transfer From" button, it fires both Events OK. Dragging the item over also fires the Client Transfer events successfully.
In my limited experience with this - it would appear that by disabling one or more items in RadListBox1, causes issues with the onClientTransferred Event handler when trying to Transfer All items to the right.
If I get rid of any "disable" code (e.g. "set_enabled(false)" - it works a treat!
Any thoughts or ideas folks?
Cheers for any help/advice,
Hopefully, someone will be able to point me in the right direction - as I'm fairly new to using Telerik UI... (all actions below are client-side).
I have set up 2 listboxes with only "TransferFrom" and "TransferAllFrom" enabled on RadListBox1 and "Delete" on RadListBox2.
RadListBox1 "TransferMode" is set to COPY, so I have told it to disable any items in RadListBox1 if they are present in RadListBox2.
It works great, but a problem arises with onClientTansferred Event when you do the following:
1. Transfer All items in RadListBox1 to RadListBox2 (all items in RadListBox1 are now disabled with "set_enabled(false)")
2. Delete one of the items in RadListBox2 (the item is then removed from RadListBox2, and enabled again in RadListBox1 with "set_enabled(true)")
3. Click the "All to Right" button...
This wierdly, doesn't seem to fire the onClientTransferred or onClientTransferring Events? But will successfully copy the items over!
If you click the individual "Transfer From" button, it fires both Events OK. Dragging the item over also fires the Client Transfer events successfully.
In my limited experience with this - it would appear that by disabling one or more items in RadListBox1, causes issues with the onClientTransferred Event handler when trying to Transfer All items to the right.
If I get rid of any "disable" code (e.g. "set_enabled(false)" - it works a treat!
Any thoughts or ideas folks?
Cheers for any help/advice,