New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

RadDockZone Object

The following table lists the most important methods of the client-side RadDockZone object:

NameParametersReturn TypeDescription
clonestringTelerik.Web.UI.RadDockZoneClones the current Telerik.Web.UI.RadDockZone object. Accepts as parameter the string that will be set to the UniqueId of the cloned object. Returns the cloned Telerik.Web.UI.RadDockZone object.
dock(RadDock) or (RadDock, integer)noneDocks the specified RadDock control in this docking zone.If called with one parameter, the RadDock control is docked in the last position. If called with a second (index) parameter, the RadDock control is docked in the specified (0-offset) position. Keep in mind that the behavior of RadDock, docked via this method, will be slightly different if it is already placed inside the RadDockZone control. For example, if a RadDock is positioned with index 0, its location will not change if the index, specified in the dock method, is 0 or 1. This occurs, because the dock control is inserted before the RadDock with the specified index. In order to ensure that the behavior will be the same, when a RadDock control is already docked inside a RadDockZone, please call the RadDock client-side method undock before dock .
get_allowedDocksnoneArrayReturns an array of the UniqueNames of all the RadDock controls that are allowed for docking in the property AllowedDocks of RadDockZone.
get_docksnoneArrayReturns an array of all the RadDock controls currently docked in the docking zone.
get_fitDocksnonebooleanGets the bool value indicating whether the docks are resized to fit within the zone.
get_highlightedCssClassnonestringGets the CSS class that is applied when a dock is over the zone and is about to be docked.
get_isHorizontalnonebooleanGets the value indicating whether the zone has Horizontal orientaion (Orientation can be Horizontal and Vertical).
get_layoutIDnonestringGets the ID of the Telerik.Web.UI.RadDockLayout that manages the state of the RadDockZone control.
get_uniqueNamenonestringGets the UniqueName of the control.
set_highlightedCssClassstringnoneSets a CSS class that is applied when a dock is over the zone and is about to be docked (Use the HighlightedCssClass property in order for the changes to take effect on the server-side and not on the client-side only). Accepts as a parameter the CSS class to be applied.

See Also

In this article
See Also
Not finding the help you need?
Contact Support