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

Repositioning the widgets after a widget is minimized

1 Answer 48 Views
Dock
This is a migrated thread and some comments may be shown as answers.
suvina paul
Top achievements
Rank 1
suvina paul asked on 19 May 2010, 07:41 AM
I am using telerik raddocks for the dashboard, i have totally 9 widgets in the dashboard, when i minimize the last widget in a row the
next widget occupies the space below the minimized widget but when i minimize the first or the second widget
in a row there is only a white space below the minimized widget,i want the next widget to occupy the space below the minimized widget.
how do i achieve this behaviour.

Regards,

Suvina.

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 19 May 2010, 04:49 PM
Hello Suvina,

When the docks are placed in a zone with Orientation="Horizontal" and FitDocks="true", they are actually <div/>s that have float: left applied. So, their actual behavior will depend on how the browser renders (positions) <div/>s with float: left. Basically, there is no way to make the dock below the collapsed one, to occupy the space freed by the collapsing of the first dock, and keep all docks in the same zone with horizontal orientation.
To achieve this behavior, you should use a couple of zones placed one next to the other. You don't need to set the Orientation, because they will appear one below the other, as shown in the following online demo: http://demos.telerik.com/aspnet-ajax/dock/examples/myportal/defaultcs.aspx.

Regards,
Pero
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
Dock
Asked by
suvina paul
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or