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

Freezing the Layout?

7 Answers 100 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Jens
Top achievements
Rank 1
Jens asked on 14 Jul 2009, 04:02 PM
Is it possible to "freeze" the layout, meaning disabling the ability to
- move panes around?
- resize panes?
- disable drop-down menu in pane header?

Regards
Jens

7 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 15 Jul 2009, 01:02 PM
Hello Jens,

Yes it is possible. What you need is to set these properties that are exposed by the RadPane.
CanDockInDocumentHost="False"  
CanFloat="False" 
CanUserClose="False" 
Also, to remove the MenuItems in RadPane you can use the code bellow:
RadPane.MenuCommands.Clear(); 



Kind regards,
Kaloyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jens
Top achievements
Rank 1
answered on 16 Jul 2009, 07:24 AM
That's great, thank you!
Is it also possible to disable the resizing of panes?

Thanks.
Jens
0
Kaloyan
Telerik team
answered on 16 Jul 2009, 12:10 PM
Hi Jens,

You can use MaxWidth, MinWidth and  MaxHeight , MinHeight properties of the RadSplitContainer to prevent resizing the panes.

Greetings,
Kaloyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jens
Top achievements
Rank 1
answered on 23 Jul 2009, 07:43 AM
Hey Kaloyan,

this really isn't an option at all, because it would zero the space between panes resulting in a badly styled UI.
Don't you have another solution for this?

Thanks.
Jens
0
Kaloyan
Telerik team
answered on 24 Jul 2009, 09:00 AM
Hello Jens,

The current version of the RadDocking control doesn't expose such a functionality to automatically freeze the whole layout.

Kind regards,
Kaloyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jon
Top achievements
Rank 1
answered on 31 Aug 2010, 11:38 AM
You could potentially create a custom style for the RadSplitContainer and remove the RadGridResizer. This would, in theory, prevent the RadSplitContainer from being resized.
0
Kaloyan
Telerik team
answered on 02 Sep 2010, 08:47 AM
Hello Jon,

This is possible solution.

All the best,
Kaloyan
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
Docking
Asked by
Jens
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Jens
Top achievements
Rank 1
Jon
Top achievements
Rank 1
Share this question
or