New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.RadWebControlTelerik.Web.UI.RadDock

Events

Adds a command event handler for the raddock

JS
add_command
Parameters:handlerFunction

The event handler function to attach

Adds a dockPositionChanged event handler for the raddock

JS
add_dockPositionChanged
Parameters:handlerFunction

The event handler function to attach

Adds a dockPositionChanging event handler for the raddock

JS
add_dockPositionChanging
Parameters:handlerFunction

The event handler function to attach

Adds a drag event handler for the raddock

JS
add_drag
Parameters:handlerFunction

The event handler function to attach

Adds a dragEnd event handler for the raddock

JS
add_dragEnd
Parameters:handlerFunction

The event handler function to attach

Adds a dragStart event handler for the raddock

JS
add_dragStart
Parameters:handlerFunction

The event handler function to attach

Adds a enterZone event handler for the raddock

JS
add_enterZone
Parameters:handlerFunction

The event handler function to attach

Adds a leaveZone event handler for the raddock

JS
add_leaveZone
Parameters:handlerFunction

The event handler function to attach

Adds a load event handler for the raddock

JS
add_load
Parameters:handlerFunction

The event handler function to attach

Adds a resizeEnd event handler for the raddock

JS
add_resizeEnd
Parameters:handlerFunction

The event handler function to attach

Adds a resizeStart event handler for the raddock

JS
add_resizeStart
Parameters:handlerFunction

The event handler function to attach

Removes a command event handler from the raddock

JS
remove_command
Parameters:handlerFunction

The event handler function to remove

Removes a dockPositionChanged event handler from the raddock

JS
remove_dockPositionChanged
Parameters:handlerFunction

The event handler function to remove

Removes a dockPositionChanging event handler from the raddock

JS
remove_dockPositionChanging
Parameters:handlerFunction

The event handler function to remove

Removes a drag event handler from the raddock

JS
remove_drag
Parameters:handlerFunction

The event handler function to remove

Removes a dragEnd event handler from the raddock

JS
remove_dragEnd
Parameters:handlerFunction

The event handler function to remove

Removes a dragStart event handler from the raddock

JS
remove_dragStart
Parameters:handlerFunction

The event handler function to remove

Removes a enterZone event handler from the raddock

JS
remove_enterZone
Parameters:handlerFunction

The event handler function to remove

Removes a leaveZone event handler from the raddock

JS
remove_leaveZone
Parameters:handlerFunction

The event handler function to remove

Removes a load event handler from the raddock

JS
remove_load
Parameters:handlerFunction

The event handler function to remove

Removes a resizeEnd event handler from the raddock

JS
remove_resizeEnd
Parameters:handlerFunction

The event handler function to remove

Removes a resizeStart event handler from the raddock

JS
remove_resizeStart
Parameters:handlerFunction

The event handler function to remove

Methods

Clones the current Telerik.Web.UI.RadDock object.

JS
clone(String id): Telerik.Web.UI.RadDock
Parameters:idString

The string that will be set to the UniqueId of the cloned object.

Returns:

Telerik.Web.UI.RadDock

The cloned Telerik.Web.UI.RadDock object.

Performs a postback if the dock has AutoPostBack enabled.

JS
conditionalPostback(String parameter): void
Parameters:parameterString

The parameter passed to the server when postback is performed.

Calls the _doPostBack global function, passing the UniqueID of the control as event target paramenter.

JS
doPostBack(String parameter): void
Parameters:parameterString

The parameter passed to the server when postback is performed.

Gets an array containing the DockZone UniqueNames where the dock is allowed to dock.

JS
get_allowedZones(): Array
Returns:

Array

A string array containing the DockZone UniqueNames where the dock is allowed to dock.

Gets the bool value indicating whether the dock will perform postback.

JS
get_autoPostBack(): Boolean
Returns:

Boolean

The bool value indicating whether the dock will perform postback.

Gets the bool value indicating whether the dock is closed or not.

JS
get_closed(): Boolean
Returns:

Boolean

Bool value indicating whether the dock is closed or not.

Gets the bool value indicating whether the dock is collapsed or not.

JS
get_collapsed(): Boolean
Returns:

Boolean

Bool value indicating whether the dock is collapsed or not.

Gets an object containing all present (enabled) dock commands. A single command can be accessed in the following way: "objCommands.CommandName" or "objCommands["CommandName"]".

JS
get_commands(): Array
Returns:

Array

Gets a reference to the element container of the dock's commands.

JS
get_commandsContainer(): Object
Returns:

Object

The element containing dock

Gets a reference to the element of the dock's content container.

JS
get_contentContainer(): Object
Returns:

Object

The element of the dock

Gets the DockMode of the RadDock control. It can be: 1. Floating; 2. Docked; 3. Default;

JS
get_dockMode(): Telerik.Web.UI.DockMode
Returns:

Telerik.Web.UI.DockMode

The Telerik.Web.UI.DockMode of the RadDock control. It can be

Gets the parent zone(Telerik.Web.UI.RadDockZone object) to which the dock is docked.

JS
get_dockZone(): Telerik.Web.UI.RadDockZone
Returns:

Telerik.Web.UI.RadDockZone

The parent DockZone.

Gets the ID of the zone where the RadDock control is docked to.

JS
get_dockZoneID(): String
Returns:

String

The ID of the zone where the RadDock control is docked to.

Returns an array which contains all dock zones.

JS
get_dockZones(): Array
Returns:

Array

Returns the DOM element for this control.

JS
get_element(): Element
Returns:

Element

Gets the bool value indicating whether the animation is enabled.

JS
get_enableAnimation(): Boolean
Returns:

Boolean

The bool value indicating whether the animation is enabled.

Gets the bool value indicating whether the user can drag the control to a new location.

JS
get_enableDrag(): Boolean
Returns:

Boolean

The bool value indicating whether the user can drag the control to a new location.

Gets an array containing the DockZone UniqueNames where the dock cannot be docked to.

JS
get_forbiddenZones(): Array
Returns:

Array

A string array containing the DockZone UniqueNames where the dock cannot docked to.

Gets the current handle by which the dock can be dragged.

JS
get_handle(): Object
Returns:

Object

The handle by which the dock can be dragged.

Gets the height of the control.

JS
get_height(): Number
Returns:

Number

The height of the control.

Gets the (0-offset) docking position of the control within its parent docking zone.

JS
get_index(): Number
Returns:

Number

The

Gets the ID of the Telerik.Web.UI.RadDockLayout that manages the state of the RadDock control.

JS
get_layoutID(): String
Returns:

String

The ID of the Telerik.Web.UI.RadDockLayout that manages the state of the RadDock control.

Gets the X-coordinate of the dock (relative to the top-left corner of the browser window).

JS
get_left(): Number
Returns:

Number

The number indicating the X

If the control is docked, returns the object for the parent docking zone.

JS
get_parent(): Object
Returns:

Object

Gets the bool value indicating whether the control is pinned.

JS
get_pinned(): Number
Returns:

Number

The bool value indicating whether the control is pinned.

Gets the bool value indicating whether the control can be resized.

JS
get_resizable(): Boolean
Returns:

Boolean

The bool value indicating whether the control can be resized.

Gets the currently applied skin to the control.

JS
get_skin(): String
Returns:

String

The control

Tag

JS
get_tag(): Object
Returns:

Object

Gets the title text of the dock control.

JS
get_title(): String
Returns:

String

The text of the dock

Gets a reference to the element of the dock's TitleBar template.

JS
get_titleBar(): Object
Returns:

Object

The element of the dock

Gets the element containing the title text of the dock (the EM element).

JS
get_titleElement(): Object
Returns:

Object

The element that contains the dock

Gets the Y-coordinate of the dock (relative to the top-left corner of the browser window).

JS
get_top(): Number
Returns:

Number

The number indicating the Y

Gets the UniqueID of the control.

JS
get_uniqueID(): String
Returns:

String

The UniqueID of the control.

Gets the UniqueName of the control.

JS
get_uniqueName(): String
Returns:

String

The UniqueName of the control.

Gets the width of the control.

JS
get_width(): Number
Returns:

Number

The width of the control.

Gets the command by the name specified.

JS
getCommand(String name): Telerik.Web.UI.DockCommand
Parameters:nameString

The name of the command.

Returns:

Telerik.Web.UI.DockCommand

The command with the given name.

Gets the serialized client state of the dock control.

JS
saveClientState(): void

Sets allowed zones (DockZones where the dock is allowed to dock) to the dock. (Use the AllowedZones property in order for the changes to take effect on the server-side and not on the client-side only)

JS
set_allowedZones(Array value): void
Parameters:valueArray

A string array containing the DockZone UniqueNames where the dock is allowed to dock.

Sets a bool value indicating whether the dock will perform postback.

JS
set_autoPostBack(Boolean value): void
Parameters:valueBoolean

Parameter indicating whether the dock will perform postback.

Closes/Opens the RadDock control.

JS
set_closed(Boolean value, Boolean playAnimation): void
Parameters:valueBoolean

The value indicating whether the dock will be opened or closed.

playAnimationBoolean

Whether or not animation should be played.

Collapses/Expands the RadDock control.

JS
set_collapsed(Boolean value, Boolean playAnimation): void
Parameters:valueBoolean

The value indicating whether the dock is collapsed or expanded.

playAnimationBoolean

Whether or not animation should be played.

Sets a DockMode to the dock.(Use the DockMode property in order for the changes to take effect on the server-side and not on the client-side only)

JS
set_dockMode(Telerik.Web.UI.DockMode value): void
Parameters:valueTelerik.Web.UI.DockMode

Whether the dock will be

Enables or disables the dock animations. (Use the EnableAnimation property in order for the changes to take effect on the server-side and not on the client-side only)

JS
set_enableAnimation(Boolean value): void
Parameters:valueBoolean

The bool value indicating whether the animation will be enabled

Sets a value enabling or disabling the ability of the user to drag the control to a new location. (Use the EnableDrag property in order for the changes to take effect on the server-side and not on the client-side only)

JS
set_enableDrag(Boolean value): void
Parameters:valueBoolean

The bool value indicating whether the user can drag the control to a new location.

Sets forbidden zones (DockZones where the dock cannot be docked to) to the dock. (Use the ForbiddenZones property in order for the changes to take effect on the server-side and not on the client-side only)

JS
set_forbiddenZones(Array value): void
Parameters:valueArray

A string array containing the DockZone UniqueNames where the dock cannot docked to.

Sets a drag handle to the element passed as a parameter.

JS
set_handle(Object element): void
Parameters:elementObject

Sets a height to the control.

JS
set_height(Number value): void
Parameters:valueNumber

The height of the control.

Sets a X-coordinate to the dock (relative to the top-left corner of the browser window).

JS
set_left(Number value): void
Parameters:valueNumber

The value set to the X

Causes a floating control to become pinned or unpinned. Dock with DockMode="Floating" can be pinned only. (Use the Pinned property in order for the changes to take effect on the server-side and not on the client-side only)

JS
set_pinned(Boolean value): void
Parameters:valueBoolean

The bool value indicating whether the control will be pinned

Enables/Disables the resizing of the control.

JS
set_resizable(Boolean value): void
Parameters:valueBoolean

The value indicating whether the control can be resized or not.

Sets a title to the control.(Use the Title property in order for the changes to take effect on the server-side and not on the client-side only)

JS
set_title(String value): void
Parameters:valueString

The text that will be assigned to the control

Sets a Y-coordinate to the dock (relative to the top-left corner of the browser window).

JS
set_top(Number value): void
Parameters:valueNumber

The value set to the Y

Sets a width to the control.

JS
set_width(Number value): void
Parameters:valueNumber

The width of the control.

Undocks the RadDock control from its containing zone.

JS
undock(): void
Not finding the help you need?
Contact Support