Feb 22, 2012, 2:17 AM
Drag and drop server validation in multiselect
I'm using drag/drop(insert mode) in two multiselect, I want to have a server-side validation when user drag and drop item from one multiselect to another.
For example, the first multiselect named Multiselect1 have two items: "Item1","Item2". The first item is permitted to drag to multiselect and the second item is not permitted.
I found that the multiselect listener have a property named beforedrop, I have tried to write a directmethod to call the server-side code, but I got a stack overflow.
Is there any other method to solve my problem?
Thanks!
For example, the first multiselect named Multiselect1 have two items: "Item1","Item2". The first item is permitted to drag to multiselect and the second item is not permitted.
I found that the multiselect listener have a property named beforedrop, I have tried to write a directmethod to call the server-side code, but I got a stack overflow.
Is there any other method to solve my problem?
Thanks!