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

Dynamically changing size and number of dockzones

3 Answers 51 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Henk
Top achievements
Rank 1
Henk asked on 05 Oct 2012, 10:39 AM
Hi,

I want to do the following with docking zones.
I want to split the page in 4 zones (as an example) -> 1=left top, 2=right top, 3=left bottom, 4 =right bottom
In each zone a control will be placed.

If a control is unpinned then for example:
if zone 3 is unpinned then zone 4 should resize and merge with zone 3. If i drag the control from 4 to 1 then 1 should be placed in zone 4(=3+4) . If i drag 1 to 2 then the controls are swapped. etc
If zone 2 and 4 is unpinned then 1 should merge with zone 2 and 3 with 4.(or 1 merge with 3 and 4 with 2)

Is there an example where I can start to do this kind of functionality?

ps: It would be nice if Telerik could design wysiwyg layout manager where you can define (forbidden)zones with properties like draggable, resizable (and automatic resizing the area when a zone is unpinned), etc.

Thanks,

Henk

3 Answers, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 10 Oct 2012, 08:39 AM
Hello Henk,

I am afraid that the RadDockZone does not support the features you require out-of-the-box. It could be possible to achieve the resizing and dragging of the dock zones by placing them in the content of RadDock controls that will have dragging and resizing enabled. Nevertheless, this would require writing a lot of custom code to handle the behavior you described, which is outside the scope of our support system.

Feel free to contact us again if you have any questions about the implementation or the configuration of the dock control.

Kind regards,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Henk
Top achievements
Rank 1
answered on 10 Oct 2012, 01:17 PM
Hi Slav,

Solved, using some of the pointers in  this forum.

Nevertheless, it would be a super bonus if Telerik will release a wysiwyg layout control like Microsoft infopath or the offering of Devexpress... We lazy developers ;-) then can focus on client logic business demands. I think I am not the only developer who can appreciate a super flexible wysiwyg layout control! (it is a wish I have done earlier...). We also get frequently questions from our customers if the super/admin user can change the layout dynamically in our custom screens. For example visible/invisble, new controls/fields etc. and to be able to change the layout.

regards,

Henk
0
Slav
Telerik team
answered on 12 Oct 2012, 04:03 PM
Hi Henk,

I am glad that you have managed to achieve the desired functionality

Indeed, this is an interesting feature. You can create a new feature request that contains a detailed description of the functionality and we will consider implementing it in a future release of the RadControls for ASP.NET AJAX.

All the best,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Dock
Asked by
Henk
Top achievements
Rank 1
Answers by
Slav
Telerik team
Henk
Top achievements
Rank 1
Share this question
or