This is a migrated thread and some comments may be shown as answers.

Question on OnDragEnd Event

1 Answer 42 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Neolite
Top achievements
Rank 1
Neolite asked on 10 Jan 2008, 03:02 PM
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?

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 11 Jan 2008, 04:54 PM
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
Tags
Dock
Asked by
Neolite
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or