Prevent docking of a single panel

4 posts, 1 answers
  1. stealthsid
    stealthsid avatar
    21 posts
    Member since:
    Oct 2006

    Posted 03 Jun 2008 Link to this post

    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.
  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 05 Jun 2008 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. stealthsid
    stealthsid avatar
    21 posts
    Member since:
    Oct 2006

    Posted 05 Jun 2008 Link to this post

    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.
  5. Answer
    Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 06 Jun 2008 Link to this post

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