Drag-drop Sharepoint items

3 posts, 0 answers
  1. Henrik
    Henrik avatar
    2 posts
    Member since:
    Jun 2012

    Posted 06 Jun 2012 Link to this post

    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. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 06 Jun 2012 Link to this post

    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.

  3. Henrik
    Henrik avatar
    2 posts
    Member since:
    Jun 2012

    Posted 07 Jun 2012 Link to this post

    Hi,

    ok - thanks for your prompt response!

    Regards
    Henrik
Back to Top