MDI Tabbed Form, Is this possible?

4 posts, 0 answers
  1. Per
    Per avatar
    120 posts
    Member since:
    Jan 2008

    Posted 06 May 2009 Link to this post


    I have been struggling with this problem for 2 weeks now and I just can't find a solution.
    Im running version 2009 Q1

    What I want to do is this:
    In the demo example "Dock/MDI", I want to add a new tab called "new form".
    This tab should always be the last tab and any new mdi forms should be inserted just before this tab.
    Example: If I have tabs like this <Form1><Form2><New Form>
    and add a new form is should look like this <Form1><Form2><Form3><New Form>

    When I click on the tab <New Form>, I want a new MDI form (of type demo form1) to be created and inserted before the <New Form> tab.
    I also want the new form to be activated.

    Is this possible?

    Per Bornsjo
  2. Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 07 May 2009 Link to this post

    Hi Per,

    This functionality is not supported in the current edition of the DockingManager, but this is very good idea and we can implement it in the new RadDock.

    Sincerely yours,
    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. Mark
    Mark avatar
    10 posts
    Member since:
    May 2016

    Posted 28 Nov 2016 Link to this post

    Has the functionality in this question been added? I'm also looking for a new tab to be added to the end of the tabstrip and not the beginning.




  4. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    4177 posts

    Posted 29 Nov 2016 Link to this post

    Hello Mark, 

    Thank you for writing back. 

    You can control whether the newly added document will be added in front or to the back of the tabbed documents by the DocumentManager.DocumentInsertOrder property. It is necessary to set it to DockWindowInsertOrder.ToBack and thus the new documents will be added to the back.
    this.radDock1.DocumentManager.DocumentInsertOrder = DockWindowInsertOrder.ToBack;

    I hope this information helps. If you have any additional questions, please let me know. 

    Telerik by Progress
    Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.
Back to Top