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

Nested DockingManagers

3 Answers 93 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Jesse Samm
Top achievements
Rank 1
Jesse Samm asked on 17 Nov 2008, 08:04 PM
I have a docking manager on the main form.  I have a docking manager in each dynamically generated document pane.  How can I restrict docking of panels in the document pane to the docking manager of the same document pane?  I don't want the user to be able to drag dockables from one docking manager to another...


3 Answers, 1 is accepted

Sort by
0
Accepted
Julian Benkov
Telerik team
answered on 20 Nov 2008, 03:35 PM
Hi Jesse Samm,

Currently the DockingManager supports only global prevention of the drag functionality using the AllowDrag property. You can disable dragging for main DockingManager in your scenario.

I hope this was helpful. If you have additional questions, please contact us.

Best wishes,
Julian Benkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Craig Finnigan
Top achievements
Rank 1
answered on 19 Aug 2009, 04:04 PM
I am using the Q2 2009 SP1 of the wincontrols.

I am comming up with somewhat of the same situation.  I don't want the user draging windows around... How do I turn off the drag and drop feature of the RADDock?

0
Julian Benkov
Telerik team
answered on 20 Aug 2009, 12:02 PM
Hi Craig Finnigan,

In the new RadDock you can cancel the drag operation of the DragDropService:

DragDropService service = this.radDock1.GetService<DragDropService>(); 
if (service != null
    service.Dragging += new CancelEventHandler(service_Dragging); 
 

 
void service_Dragging(object sender, CancelEventArgs e) 
    e.Cancel = true

Best wishes,
Julian Benkov
the Telerik team

Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
Tags
Dock
Asked by
Jesse Samm
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Craig Finnigan
Top achievements
Rank 1
Share this question
or