Approved
Last Updated: 04 Sep 2013 14:56 by Keith
ADMIN
Slav
Created on: 10 May 2013 13:33
Category: Dock
Type: Bug Report
1
Problem with the horizontal resizing of RadDocks in horizontal RadDockZone that contains more than one row of docks
When there is more than one row of RadDocks in a horizontally oriented RadDockZone, it will not be possible to resize them in order to use all the available width of the zone.
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
1 comment
Keith
Posted on: 11 Jun 2013 20:00
I discovered this issue when trying to resize a RadDock that was in a horizontal dock with a width of 600px. The dock was only 200px but I could not increase its width to 600px.

The culprit is in the way the available width of the horizontal dock is calculated. The function caluclateZoneFreeSpace in the dock object ignores the height of the dockzone and whether or not there are docks on multiple rows.

A resolution to this would be to return the remaining width available on the current row ignoring all other docks except the current dock. Additionally, if the dockzone is sized statically, it might be beneficial to determine if resizing a dock horizontally would cause a dock to reposition on another row, potentially exceeding the dockzone height.

A workaround that works for me can be found here:

http://www.telerik.com/community/forums/aspnet-ajax/docking/resize-dock-issue.aspx#2604861