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

Capture RadDockZone

2 Answers 22 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Robb Blacquiere
Top achievements
Rank 1
Robb Blacquiere asked on 24 Nov 2008, 09:54 PM
When I drag a dock from one zone to another, how do I capture the ID of the zone the dock is being dragged to within the DockPositionChanged event?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Joseph
Top achievements
Rank 1
answered on 24 Nov 2008, 10:26 PM

This should work.  The new zone name is in the DockPositionChangedEventArgs as DockZoneID.


    
protected void radDock_DockPositionChanged(object sender, DockPositionChangedEventArgs e)  
    {  
       NewZone = e.DockZoneID;  
    } 


joe
0
Robb Blacquiere
Top achievements
Rank 1
answered on 25 Nov 2008, 02:02 AM
Thank you Joseph...it worked perfectly!
Tags
Dock
Asked by
Robb Blacquiere
Top achievements
Rank 1
Answers by
Joseph
Top achievements
Rank 1
Robb Blacquiere
Top achievements
Rank 1
Share this question
or