Radgrid dragedItems

Thread is closed for posting
2 posts, 0 answers
  1. Gauri
    Gauri avatar
    32 posts
    Member since:
    Jan 2012

    Posted 03 Jul 2013 Link to this post

    I need to get the datakey value of a radgrid dragged item on  RowDropping event  but everything I tried returns null.

    var UIProceduresGrid = $find($telerik.$("[id$='UIProceduresGrid']")[0].id);
                var UIProceduresGridTable = UIProceduresGrid.get_masterTableView();
                var UIProceduresGridRows = UIProceduresGridTable.get_dataItems();
                var dragged = UIProceduresGridRows[args._dragedItems[0]._itemIndexHierarchical];

    and few other things

     Can anyone please help me with this.

    Thanks in advance.
  2. Eyup
    Eyup avatar
    3387 posts

    Posted 08 Jul 2013 Link to this post

    Hello Gauri,

    Can you please verify that you have set the following property?
    <MasterTableView ...ClientDataKeyNames="ProcedureID">

    Looking forward to your reply.

    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 the blog feed now.
Back to Top