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

Rad Grid Drag and Drop - Check if Valid

1 Answer 43 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Keith
Top achievements
Rank 1
Keith asked on 10 Sep 2008, 02:23 PM
I found the examples of drag and drop for a Rad Grid. However, I would like to check if it is valid to do the drag and drop. Because of server side specific data relationships, I would like to check client-side whether it is valid to do the drag and drop from on place in the grid to another. Do you have any example of such a check?

Thanks in advance,

K.E.

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 11 Sep 2008, 12:45 PM
Hi Keith,

You may use the RowDragStarted and RowDropping client-side events in order to check (and eventually cancel) if the drag should start or if an item can be dropped on a specific target. For example, in the online demo the RowDropping event is used to check if a destination target is valid depending on which is the item drag initiator.

Best regards,
Rosen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Keith
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or