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

Prevent docking of a single panel

3 Answers 42 Views
Dock
This is a migrated thread and some comments may be shown as answers.
stealthsid
Top achievements
Rank 1
stealthsid asked on 03 Jun 2008, 07:01 PM
The ability to dock appears to be specified at the docking manager level. Is this correct? If so, is there any way to create a dock panel that cannot be docked?

I know this seems foolish, but I'm looking for a way to make a non-modal window using a dockpanel.

Actually, the reason I'm doing this may be related to a bug (using Q3 2007, FYI). If I create a DockPanel at runtime, and make it float, the user can then dock the window (a reasonable action). Then, when they unpin it, it completely disappears. If you can solve this issue, then the former issue is moot.

Any assistance is appreciated.

3 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 05 Jun 2008, 02:42 PM
Hi Sidney,

The DockPanel is designed to be used only with DockingManager. The prevention of a docking operation is possible only with the global DockingManager property AllowDocking and it's applied to all hosted IDockable windows.

We are planning to extend the RadDock component to setup an allow operation for each IDockable window. Once this is done, your scenario will be possible.

When the DockPanel is in floating state, the unpin operation is invalid. This is an issue in the current RadDock component and will be addressed in our next release.

Thank you for the feedback. Your Telerik points have been updated.

Regards,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
stealthsid
Top achievements
Rank 1
answered on 05 Jun 2008, 03:08 PM
Thanks for the reply.

Is there a control I could use that's not a RadDock/dockpanel to get a non-modal window? I may just end up using the system form, but wanted to see if there's a rad equivalent to it.
0
Accepted
Julian Benkov
Telerik team
answered on 06 Jun 2008, 12:50 PM
Hi Sidney,

Indeed, there is a control you can use to replace the standard windows form - our RadForm component. Please browse the examples in the Examples application under the RadForm sections. In addition to the standard windows form capability, it supports styles, MDI, and is fully integrated with other components in our product.

Refer to the link below for basic information about the RadForm.

http://www.telerik.com/products/winforms/controls/form/overview.aspx

I encourage you to look through the examples to become better acquainted with the capabilities, and also to see sample code.

If you have additional question please contact us.

All the best,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
stealthsid
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
stealthsid
Top achievements
Rank 1
Share this question
or