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

RadDock Resize when Window resizes

2 Answers 101 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 17 Sep 2008, 11:38 AM
Is there a way to have the docking panels dynamically resize when the browser window is resized (only horizontally)? I would like the same behavior as iGoogle. I don't necessarily want to use javascript to do this. I tired setting the dockzone to a percentage width and I did the same for the containing docks. I also set the FitDocks property on the dockzone, but it didn't have any effect. Thanks

Daniel

2 Answers, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 17 Sep 2008, 02:39 PM
Hello Daniel,

If you set the width of the RadDockZone in percent it will be resized with the browser window.
If the docks in the RadDockZone are vertically oriented and no width is specified to them as well as the FitDocks property of the RadDockZone is set to true(which is the default value) the docks will take 100% of the zone's width and will be resized according to the browser window. However, this is valid only for non-resizable docks as the size of the resizable docks is always recalculated in pixels even if it is initially set in percent. Please, give us more details about your exact setup so that we can tell you whether it is possible to achieve the desired scenario without any javascript code. It would be best if you could send us some code snippets which we can use to take a closer look at your setup.

Best wishes,
Sophy
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Daniel
Top achievements
Rank 1
answered on 18 Sep 2008, 04:35 PM
Thank you. I will give this a shot!!

Daniel
Tags
Dock
Asked by
Daniel
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Daniel
Top achievements
Rank 1
Share this question
or