1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Drag and Drop RadGrid

Drag and Drop RadGrid

2 posts, 1 answered
  1. Jonathan Perry
    Jonathan Perry avatar
    9 posts
    Registered:
    21 May 2010
    20 Jun 2011
    Link to this post
    I am creating a drag and drop radgrid. I am using the code demo from here: http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultcs.aspx.

    Once a user has dragged over all wanted items I need to insert all records they have chosen. How do I loop through the second gridview and insert all items they had drag and dropped?

    Thanks

    Jon
  2. Genti
    Genti avatar
    1 posts
    Registered:
    18 May 2013
    23 Jun 2011
    Link to this post
    Hello Jonathan Perry,

    Thank you for contacting us.

    In such case, depending on your need you can either access the rows using the RadGrid object(grdShippedOrders) and accessing the rows by grdShippedOrders.MasterTableView.Items.
    Or, beacuse in this example the state is reserved in the session, you can use the ShippedOrders property to get access to all the rows in the shipped table.


    Hope this helps.

    Kind regards,
    Genti
    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.

    Answered
2 posts, 1 answered