RadDock Document tabs at bottom, hide quickbrowse / close

2 posts, 0 answers
  1. Antony
    Antony avatar
    12 posts
    Member since:
    May 2009

    Posted 08 Jul 2009 Link to this post

    Hi there,

    What I would like to be able to do is have a seriese of docked user controls that are able to fill the screen with their tabs at the bottom of the screen and the usual Close and Quickbrowse buttons hidden. (as a nice-to-have I would also like close buttons in the tabs at the bottom!)

    Obviously this is quite different from the default RadDock behaviour but I have been able to achieve it with DockingManager in the past and figure I should probably be able to upgrade.

    I am using DocumentWindows so that I can Dock to the Fill position in my screen and am then doing the following to move the tabs to the bottom and then hide the buttons.


    this.documentTabStrip1.TabStripElement.TabsPosition = Telerik.WinControls.UI.TabPositions.Bottom;



    this.documentTabStrip1.RootElement.Children[0].Children[0].Visibility = Telerik.WinControls.ElementVisibility.Collapsed;


    My problem comes then one of the tabs is dragged to another docked position by the user, is there any way for me to perform the same changes to the DocumentTabStrip that will be created?

    Also will the process for adding close buttons to the tabs be the same as it was with the DockingManager?

    Thanks for any help!


  2. Georgi
    Georgi avatar
    296 posts

    Posted 09 Jul 2009 Link to this post

    Hello Antony,

    Currently there is no way to detect whether the layout is split into another strip/container. We will address this issue in the first service pack of Q2 2009 and you will be able to perform some additional operations upon such notification.

    Otherwise, you have more convenient way of controlling buttons visibility for a document:

    this.documentWindow1.DocumentButtons = DocumentStripButtons.None;

    The DocumentButtons enumeration defines which buttons should be visible (for a DocumentWindow instance).

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