Should floating docking windows have a Pin button

7 posts, 0 answers
  1. Simon
    Simon avatar
    6 posts
    Member since:
    Dec 2008

    Posted 12 May 2009 Link to this post

    When you float a docking window, it still has a pin button. 
    If you try to unpin it nothing happens (If the panel was docked with other windows I would expect it to autohide, if the window is floated on its own then there does not seem to be any sensible action to take).
    If you press the pin button again (to unpin it), the docked floating window jumps back into the main window.

    I would suggest the pin button should be disabled or removed when a window is floated.
  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 15 May 2009 Link to this post

    Hi Simon,

    The issue will be fixed in our next release, but currently our focus is on the new RadDock component, where the reported behavior will be supported.

    Thank you for the reporting the issue. Your Telerik points have been updated.

    All the best,
    Julian Benkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Stefan
    Stefan avatar
    10 posts
    Member since:
    Feb 2009

    Posted 22 Apr 2010 Link to this post

    Hi,

    has this issues been fixed? To me it seems like not.

    Thanks and best regards,
    Stefan
  5. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 28 Apr 2010 Link to this post

    Hello Stefan,

    We have already addressed the issues described at the beginning of this thread. However, please note that these issues have been addressed in our relatively new RadDock component, but not in the DockingManager component.

    Feel free to contact us should you have additional questions.

    Kind regards,
    Nikolay
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  6. Adrian
    Adrian avatar
    14 posts
    Member since:
    Apr 2010

    Posted 29 Apr 2010 Link to this post

    Hi Nikolay.

    I am using the RadDock Control (not the DockingManager Component) and to be honest i faced the same problems described above. All opened Floating Dock Windows controled by a RadDock (RadDock is placed on a MainForm and 4 other Forms are added as MDI Childs to this form, RadDock has AutoDetectMDIChils=true) have the problems. If i undock one form (meaning set it to floating) the opened Floating Window has only a 'X' Button for closing the window, which normally do not work - meaning pressing on the "X" will do nothing. I reprogrammed this to automatically ReDock (tabbed document) to the RadDock on MainForm by pressing on the "X", but for me this should not be the correct solution.

    The only way to hide this Button is to .Dispose() the object, like ...

    void MyRadDock_TransactionCommitted(object sender, RadDockTransactionEventArgs e) 
                // Allow Window to redock to desktopdock 
                foreach (DockWindow theDockedWindow in e.Transaction.AssociatedWindows) 
                { 
                    // Windows is currenty in docked state 
                    if (!theDockedWindow.AllowedDockState.Equals(AllowedDockState.TabbedDocument)) 
                    { 
                         theDockedWindow.FloatingParent.FormElement.TitleBar.CloseButton.Dispose(); 
                    } 
                } 
    // ... 


    What i want is that i can enable the Minimize Button, Hide the Close "X" Button and have my own ContextMenu on if the user clicks on the titlebar of the Floating Window. The most important thing for me is currently to change the context menu, but this is also discussed in this thread: http://www.telerik.com/community/forums/winforms/dock/right-click-menu-on-floating-dock.aspx

    Best regards.

    Adrian




  7. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 10 May 2010 Link to this post

    Hello Adrian,

    Please find the answer to your question in the following thread:
    http://www.telerik.com/community/forums/winforms/dock/right-click-menu-on-floating-dock.aspx

    Best wishes,
    Nikolay
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  8. Adrian
    Adrian avatar
    14 posts
    Member since:
    Apr 2010

    Posted 18 May 2010 Link to this post

    Thank you. It works!
Back to Top
UI for WinForms is Visual Studio 2017 Ready