Drag and drop client API

2 posts, 0 answers
  1. Kern
    Kern avatar
    7 posts
    Member since:
    Mar 2009

    Posted 08 May 2013 Link to this post

    In the OnClientNodeDragging event, is it possible to determine the target parent node when dragging in between nodes?
  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 13 May 2013 Link to this post

    Hi Kern,

    The OnClientNodeDragging event occurs very early and at the moment when the dragging of the node starts (when this event fires) it can not be determined which will be the destination node so that you can get a reference to it. However, using the OnClientNodeDropping event you can easily access the parent node of the destination node by using the following code:
    args.get_destNode().get_parent();

    All the best,
    Kate
    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. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top