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

Disable sizing the SplitContainer at runtime

3 Answers 229 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Akhil
Top achievements
Rank 1
Akhil asked on 12 Apr 2011, 02:12 PM

Hi,

I have tried a splitontainer. And when I run the project, it can be sized at runtime too !

How can we disable resizing at runtime ?

3 Answers, 1 is accepted

Sort by
0
Akhil
Top achievements
Rank 1
answered on 14 Apr 2011, 04:03 PM
Any solutions ?
0
Accepted
Stefan
Telerik team
answered on 15 Apr 2011, 09:12 AM
Hi Akhil,

Thank you for writing.

The semantic of this control is to give the end-user the opportunity to resize SplitPanels contained in RadSplitContainer. I will suggest using RadPanel when you need a control that does not allow resizing. You can add as many panels as you need to make the desired layout. This way the users will not be able to resize the panels.

However, if you want to go with RadSplitContainer, you should hide the splitters. Here is how you can do this:

radSplitContainer1.SplitterWidth = 0;

I hope the provided information addresses your questions, should you have any other questions, do not hesitate to contact us.
 
Kind regards,
Stefan
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
0
Akhil
Top achievements
Rank 1
answered on 15 Apr 2011, 12:15 PM

Thanks.

That works :)

If it is intended to be resized at runtime, then what other control can be used ? I have checked Panels. But adding rows and columns is easy in SplitContainer !

Tags
General Discussions
Asked by
Akhil
Top achievements
Rank 1
Answers by
Akhil
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or