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

Telerik Grid drag drop

3 Answers 84 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 08 Dec 2010, 09:01 PM
Hi ,
I am using 2 grids among them one is rad detail grid. I need to drag n drop rows from normal grid to detail grid. Is there any way to find the datakey of detail table row on which the row from 2nd grid is dropping. Please help..

Thnx n regards
Sam Peter

3 Answers, 1 is accepted

Sort by
0
Sam
Top achievements
Rank 1
answered on 09 Dec 2010, 03:10 PM
Hi ,
can anybody plz help me on this?.. 
0
Sam
Top achievements
Rank 1
answered on 10 Dec 2010, 05:58 PM
Hi,
Should i need to clarify my question?.
0
Veli
Telerik team
answered on 14 Dec 2010, 09:58 AM
Hi Sam,

Refer to RadGrid's Rows-Drag-Drop demo  for an example on how to do that. Note RadGrid's RowDrop event. Inside, you can see how the e.DestDataItem.GetDataKeyValue() method is used to retrieve the data key of the destination data item. Note that the destination item's OwnerTableView needs to have the field you are trying to access in the DataKeyNames collection.

Veli
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Sam
Top achievements
Rank 1
Answers by
Sam
Top achievements
Rank 1
Veli
Telerik team
Share this question
or