Nested DockingManagers

4 posts, 1 answers
  1. Jesse Samm
    Jesse Samm avatar
    1 posts
    Member since:
    Aug 2008

    Posted 17 Nov 2008 Link to this post

    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...


  2. Answer
    Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 20 Nov 2008 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Craig Finnigan
    Craig Finnigan avatar
    14 posts
    Member since:
    May 2008

    Posted 19 Aug 2009 Link to this post

    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?

  5. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 20 Aug 2009 Link to this post

    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.
Back to Top