Drag and drop client API

2 posts, 0 answers
  1. Kern Shen
    Kern Shen 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
    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:

    All the best,
    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.
Back to Top