This is a migrated thread and some comments may be shown as answers.

Changing a DocumentWindow to Docked

1 Answer 23 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Laura
Top achievements
Rank 1
Laura asked on 25 Mar 2015, 02:46 PM
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.

Laura

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 27 Mar 2015, 02:22 PM
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. 
 
Regards,
Dimitar
Telerik
 

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

 
Tags
Dock
Asked by
Laura
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or