First Docked , then AutoHide

2 posts, 0 answers
  1. Falk Wegener
    Falk Wegener avatar
    28 posts
    Member since:
    Oct 2007

    Posted 13 Jun 2008 Link to this post


    I am using the DockingManager ( and set two of the panels DockState-Property to AutoHide. Now the Designer cannot show the form anymore saying "This is not valid state for tabbed document container. Please first change state to Docked and then to AutoHide"

    I did change the Designer Code and added the DockState-Property setting to my own Initialize method. But now every time I save the Form, the designer code gets altered back to AutoHide, which means after the next build again I cant see the from in the designer again.

    Am I doing something wrong ? Whats the normal way of setting a Panel to AutoHide in the Designer.

  2. Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 16 Jun 2008 Link to this post

    Hi Falk Wegener,

    Thank you for writing.

    Your DockPanel is attached to a TabbedDocument container and its state cannot be a AutoHide. Please first change the DockPanels to a Docked state like ToolWindow and then you can change the state to AutoHide.

    The behavior is like Visual Studio Docking.

    I hope this helps. If you have additional questions, please contact us.

    Sincerely yours,
    Julian Benkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top