Opening Child Form in Left or Right Panel

2 posts, 1 answers
  1. TwoLaJit
    TwoLaJit avatar
    38 posts
    Member since:
    Nov 2006

    Posted 16 May 2009 Link to this post

    Is ther a way to do this with the DockPanel Control? 

    Right now I have the on the mdi parent load:

    Me.IsMdiContainer = True
    dockingManager1.AutoDetectMdiChildForms = True

    and a button to open the customer database as:

    FormName.MdiParent = Me

    it creates a documentpanel and fills it in that but i want to open it in a left or right panel. 
  2. Answer
    Nick avatar
    767 posts

    Posted 18 May 2009 Link to this post

    Hi TwoLaJit,

    You can achieve that using the code snippet below:

    Dim dockPanel As New DockPanel() 
    FormName.TopLevel = False 
    FormName.FormBorderStyle = FormBorderStyle.None 
    dockingManager1.SetDock(dockPanel, Telerik.WinControls.Docking.DockPosition.Left) 

    Do not hesitate to contact us back if you have further questions.

    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