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

Drag-drop Sharepoint items

2 Answers 52 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Henrik
Top achievements
Rank 1
Henrik asked on 06 Jun 2012, 08:27 AM
Hi,

is it possible to get the drag-drop feature shown here http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultcs.aspx to work inside Sharepoint connected to a Sharepoint-list? I've looked through the examples you have with the RadGrid in Sharepoint but the drag-drop doesn't seem to be there.

Best regards
Henrik - Sweden

2 Answers, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 06 Jun 2012, 01:33 PM
Hello Henrik,

You can use RadGrid on its own and following the steps from the example implement the drag-and-drop scenario. If you are using RadGrid you will need to flatten the sharepoint list to a datatable before passing it to the grid's DataSource property in the NeedDataSource event. Alternatively, you can use the SPRadGrid control that comes in the Telerik.Ajax.SharePoint.dll part of the installer for RadControls under SharePoint 2010. SPRadGrid can accept a sharepoint list directly assigned to its DataSource property in the NeedDataSource event and will bind correctly to that. The remaining steps are again as in the online drag-and-drop scenario.

Other than that, you are correct in your observation that the TelerikSPRadGrid web part does not feature such a scenario.

Hope it helps.

Regards,
Tsvetoslav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Henrik
Top achievements
Rank 1
answered on 07 Jun 2012, 01:47 PM
Hi,

ok - thanks for your prompt response!

Regards
Henrik
Tags
WebParts for SharePoint
Asked by
Henrik
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Henrik
Top achievements
Rank 1
Share this question
or