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

Adding a new DockZone to DockLayout programmatically

1 Answer 79 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Courtenay
Top achievements
Rank 1
Courtenay asked on 07 Apr 2010, 05:15 AM
Hi there,

Is there any way to add a new Dockzone to a docklayout (programmatically)? im designing a "form creator" where i will need users to add new columns to a form layout, therefore using the dockzone as a new column would be very useful.

thanks for your help

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 09 Apr 2010, 05:45 PM
Hi Courtenay,

I have attached a sample project that dynamically creates docks and zones. The zones are directly added to the layout, and are with float: left, so that they appear as table columns. The state is saved into a DB. You can add the DockingZones to any other control (like an asp:Table, or to a table row of this table) as long as the control is placed (or added) to the RadDockLayout control.


Sincerely yours,
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
Courtenay
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or