Drag and drop server validation in multiselect

  1. #1

    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!
  2. #2
    Hi,

    Drag&drop operations should be made client side, I can't see any way to achieve your requirement.

    You could validate MultiSelect values on submit.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    Drag&drop operations should be made client side, I can't see any way to achieve your requirement.

    You could validate MultiSelect values on submit.
    thanks, and is there any client side drag&drop validation?
  4. #4
    Well, could you clarify what do you mean under "client side drag&drop validation"?

Similar Threads

  1. [CLOSED] MultiSelect change sequence without use drag drop
    By gs_user in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 05, 2012, 5:25 AM
  2. [CLOSED] Alternative to Drag/Drop sorting in Multiselect
    By jthompson in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 24, 2011, 7:55 PM
  3. [CLOSED] Multiselect Drag and Drop
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Dec 01, 2009, 12:51 PM
  4. [CLOSED] MultiSelect with drag and drop, Drop listener
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 30, 2009, 8:25 AM

Tags for this Thread

Posting Permissions