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

Cancel docking

1 Answer 40 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Flemming
Top achievements
Rank 1
Flemming asked on 04 Sep 2018, 01:21 PM
Hi

I want to use the arrows of the RootCompass to insert a new RadPaneGroup to an existing RadSplitContainer – instead of docking the dragged pane.

Is it possible to conditionally cancel the docking and insert the panes manually?

/Flemming Rosenbrandt

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 07 Sep 2018, 11:56 AM
Hi Flemming,

There isn't such a built-in functionality. However what I can suggest you to try would be to replace the default ToolWindow with custom class as shown here and override its OnDragEnd method that will be called at the end of each drag operation. Inside you would have to find out if this is an actual drop on the compass - if so you can cancel it and execute the desired custom logic.

Hope this will help you to achieve the desired behavior.

Regards,
Kalin
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Docking
Asked by
Flemming
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or