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

QUESTION about win form document manager

1 Answer 101 Views
Dock
This is a migrated thread and some comments may be shown as answers.
涵策
Top achievements
Rank 1
涵策 asked on 24 Oct 2017, 06:00 AM

As picture one I attached below, when i click "add a document" in the first picture, it goes to the second picture (by adding a new tab)

I want to ask if is possible for me to go straight to the third picture or the fourth picture.  

If it is possible I wonder how I can edit the codes, to make it possible. 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 24 Oct 2017, 09:40 AM
涵策,

Thank you for writing.

You can use the RadDock.DockWindow method and set the DockPosition parameter according to your scenario: 
private void radButton1_Click(object sender, EventArgs e)
{
    DocumentWindow dw = new DocumentWindow();
    this.radDock1.DockWindow(dw, DockPosition.Right);
}

Please also check the following documentation article demonstrating how windows can be created at run-time: https://docs.telerik.com/devtools/winforms/dock/object-model/creating-toolwindow-and-documentwindow-at-runtime.

I hope this helps. Should you have further questions please do not hesitate to write back

Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Dock
Asked by
涵策
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or