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

Dock Content expand

1 Answer 56 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Dave Myers
Top achievements
Rank 1
Dave Myers asked on 11 Sep 2008, 08:21 PM
Is there a way to have the doc automatically expand to the size of it's content?  Can't seem to find an answer in help.

1 Answer, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 15 Sep 2008, 10:48 AM
Hello Dave,

By default if no width and height are specified to the RadDock a default width of 300px is applied to the control and the height automatically adjusts itself according to the height of its content. However, if the height of the dock is set the control's height becomes as much as the value specified and if the height of the content is greater than this value vertical scrollbar appears. That is why, if you want the RadDock become as high as its content you should simply do not set any height.
Let us know if you have any other questions.

Kind regards,
Sophy
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Dock
Asked by
Dave Myers
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Share this question
or