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

Auto Hide Docking Panel Min Width

6 Answers 190 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Bex
Top achievements
Rank 1
Bex asked on 23 Dec 2008, 10:38 AM
Hello

I have a docking manager with 2 panels. one fixed and one auto hide.
When the auto hide panel is activated I want it to open the full width of the docking manager but at the moment it only opens a 1/4 (ish) the way.
I have tried setting the "minimumsize" and the "minsize"  and the "size" attribute but none of them seem to make any difference, although I cannot find any documentation on the "minsize" attrib.

Is it possible to do this?

Thanks

Bex

6 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 23 Dec 2008, 05:02 PM
Hello Becky,

You may try using the AutoHidePanel.Size property of of DockingManager as demonstrated bellow:

this.dockingManager1.AutoHidePanel.Size = new Size(200, 200); 


Best wishes,
Julian Benkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Bex
Top achievements
Rank 1
answered on 23 Dec 2008, 05:08 PM
Hello

Do I have to add this in any particular place as it doesn;t appear to make any difference if I set it in the form load?

Thanks

Becky
0
Nick
Telerik team
answered on 29 Dec 2008, 02:26 PM
Hi Becky,

Thank you for your inquiry. I cannot currently find a workaround for the issue and it really seems that the code snippet below does not work as expected. Unfortunately, since the schedule is currently very tight will be able to answer this question more promptly in a few days.

Greetings,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nikolay
Telerik team
answered on 09 Jan 2009, 05:37 PM
Hi Becky,

Indeed, currently it is not possible to set the Size for the AutoHide panels. We plan to address this issue in Q1 2009. Unfortunately, we cannot provide you with a workaround for the time being.

Kind regards,
Nikolay
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
[Nean]
Top achievements
Rank 1
answered on 02 Feb 2010, 04:25 PM
Hi Nikolay,

I was wondering if this problem was fixed since Becky ask the question ? Cause I have a similar problem with an AutoHidePanel wich change size the second time it's shown.

Thanks

[Nean]
0
Nikolay
Telerik team
answered on 05 Feb 2010, 11:34 AM
Hi [Nean],

This issue was addressed in the relatively new RadDock control. You can set the AutoHideSize of a ToolWindow as it is shown below:
this.toolWindow1.AutoHideSize = new Size(100, 100);

If you have additional questions, feel free to contact me.

Best wishes,
Nikolay
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
Dock
Asked by
Bex
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Bex
Top achievements
Rank 1
Nick
Telerik team
Nikolay
Telerik team
[Nean]
Top achievements
Rank 1
Share this question
or