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
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.