Changing a DocumentWindow to Docked

2 posts, 0 answers
  1. Laura
    Laura avatar
    11 posts
    Member since:
    Jan 2014

    Posted 25 Mar 2015 Link to this post

    I have created a DocumentWindow object in runtime.  I would like to change it to a Docked type by triggered by a Context Menu item I have created.  This triggers just fine, but when I use the statement below (with loDock being the reference to the RadDock control and loDockWin being the reference to the DocumentWindow object):

    loDock.DockWindow(loDockWin, DockPosition.Left);

    it just creates another Tab Group on the left and puts my tab in it.

  2. Dimitar
    Dimitar avatar
    2983 posts

    Posted 27 Mar 2015 Link to this post

    Hi Laura,

    Thank you for writing.

    You should use the AddDocument method of the dock. Detailed information is available here: Creating ToolWindow and DocumentWindow at Runtime.

    Please let me know if there is something else I can help you with. 

    See What's Next in App Development. Register for TelerikNEXT.

Back to Top