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

RadDock in floating dockMode

1 Answer 81 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Mrinal
Top achievements
Rank 1
Mrinal asked on 06 Oct 2011, 08:17 AM
Hi,
is there any way to limit floating of the RadDock to a specific web element like div etc?
My requirement is if I have a RadDock with Floating DockMode and but I want to limit the Floating mode only to a specific DIV, i.e. the RadDock should only be moved inside a specific DIV.

thanks in advance for any help!!

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 10 Oct 2011, 05:04 PM
Hello Mrinal,

The described functionality can be implemented by attaching an event handler to the RadDock's event OnClientDragEnd and writing some additional client script in order to check whether a dock control is in a particular zone and to specify its behavior in case it is out of this zone.

For your convenience I have attached a sample page, implementing the described approach. Please use it as a base for your further development.

Note that the RadWindow control provides a Restriction Zone functionality, so you may consider using it in your scenario.

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
Tags
Dock
Asked by
Mrinal
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or