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

dynamically setting heights of raddockZones

1 Answer 30 Views
Dock
This is a migrated thread and some comments may be shown as answers.
saygin
Top achievements
Rank 1
saygin asked on 28 Mar 2008, 04:51 PM
Hi,
I have two raddockZones, say zoneLeft and zoneRight, in different tables on a page.
ZoneA top point is 300px below the ZoneB top point, at all times.
These zones are filled with dynamically created docks, and their height grows, as they have more docks.

I want these zones' bottom points be on the same line, at all times. In other words, if zoneLeft grows up to 500px, zoneRight should grow to 800px. (Because zoneLeft is 300px below)

I thouht of css expression, likely to work for me. Unfortunately no browser,but IE supports it. Is there any other way to achieve such a situation ?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 31 Mar 2008, 01:46 PM
Hello,

To make both zones - zoneLeft and zoneRight have their bottom points on the same line I could suggest one of the following options:
  1. Set the height property of the zones to the desired values so that when their content increases scrollbars will appear and the zones will not get resized. You can take a look at the Zone Orientation online example and the corresponding help article for reference.
  2. Try to calculate the height of the dock zones client-side at the Application load event and at the OnClientDragEnd event and set the proper height to the dock zones. For your convenience I have attached a  sample page which gives a general idea how to achieve such a scenario.

If you need further assistance, do contact us again.

Best regards,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
saygin
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Share this question
or