Question on OnDragEnd Event

2 posts, 0 answers
  1. Neolite
    Neolite avatar
    3 posts
    Member since:
    Sep 2006

    Posted 10 Jan 2008 Link to this post

    I have a RadDock that I create dynamically on the backend.  I have assigned the OnDragEnd event to capture when I finish dragging the RadDock.  Here's what I'm trying to do:

    I have 12 RadDockZones on the page.  When I drop the RadDock onto one of those zones, I need to capture the ID of the zone I dropped it onto AND be able to pass that zone ID to a server-side event.

    Anyone have experience with this?
  2. Petya
    Admin
    Petya avatar
    869 posts

    Posted 11 Jan 2008 Link to this post

    Hi Neolite,

    Here is how you can get the id of the docking zone that the dock is moved in:

    function OnClientDragEnd(sender, args)
    {
        alert(sender.get_DockZoneID(););
    }

    Hope this helps.

    Best wishes,
    Petya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top