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

Keep a docked window (tab) in the same place

3 Answers 113 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Lou
Top achievements
Rank 1
Lou asked on 15 May 2015, 09:05 PM

Hi,

I have a certain docked window that is always opened when my application is started (and cannot be closed by the user) and I'd like to always keep this window  at the left-most tab position in the document container. Any new documents should open to the right of this document. How would I do this?

Thanks,

-Lou

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 18 May 2015, 03:15 PM
Hi Lou,

Thank you for writing.

You can re-dock the main window after another window is added:
DocumentWindow mainWnd = new DocumentWindow();
void button_Click(object sender, EventArgs e)
{
    DocumentWindow newWindow = new DocumentWindow();
 
    radDock1.DockWindow(newWindow,  DockPosition.Fill);
    radDock1.DockWindow(mainWnd, DockPosition.Fill);
}

We also have a feature request for pinning DocumentWindows. Feel free to cast your vote for it by clicking the Like button: http://feedback.telerik.com/Project/154/Feedback/Details/111931-add-raddock-add-support-for-pinning-a-documentwindow.

Let me know if I can assist you further.
 
Regards,
Dimitar
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Lou
Top achievements
Rank 1
answered on 18 May 2015, 05:58 PM

Thanks Dimitar, I was able to use that technique to do what I wanted.

I added my vote for the pinning feature that you mentioned.

 -Lou

0
Dimitar
Telerik team
answered on 19 May 2015, 10:41 AM
Hello Lou,

I am glad that you have found a solution for your case. Do not hesitate to contact us if you have other questions.
 
Regards,
Dimitar
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Dock
Asked by
Lou
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Lou
Top achievements
Rank 1
Share this question
or