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

Definition

Namespace:Telerik.Web.UI

Inheritance: Sys.UI.ControlTelerik.Web.UI.DockCommand

Events

Adds a command event handler for the dockcommand

JS
add_command
Parameters:handlerFunction

The event handler function to attach

Removes a command event handler from the dockcommand

JS
remove_command
Parameters:handlerFunction

The event handler function to remove

Methods

Performs a post back if the dock has AutoPostBack enabled.

JS
conditionalPostback(String parameter): void
Parameters:parameterString

The parameter passed to the server when post back is performed.

Gets the bool value indicating whether the command will perform post back.

JS
get_autoPostBack(): Boolean
Returns:

Boolean

The bool value indicating whether the command will perform post back.

JS
get_clientTypeName(): String
Returns:

String

Gets the CSS class of the DockCommand.

JS
get_cssClass(): String
Returns:

String

The CSS class of the DockCommand.

Gets the name of the command.

JS
get_name(): String
Returns:

String

The name of the command.

Gets the parent Telerik.Web.UI.RadDock control.

JS
get_radDock(): Telerik.Web.UI.RadDock
Returns:

Telerik.Web.UI.RadDock

The parent Telerik.Web.UI.RadDock control.

Gets the text of the command.

JS
get_text(): String
Returns:

String

The text of the command

The Command item's main method. Override this method to implement custom logic.

JS
onCommand(Sys.UI.DomEvent e): void
Parameters:eSys.UI.DomEvent

Raises the OnClientCommand event.

JS
raise_command(Sys.CancelEventArgs args): void
Parameters:argsSys.CancelEventArgs

Sets a bool value indicating whether the command will perform post back.

JS
set_autoPostBack(Boolean value): void
Parameters:valueBoolean

The bool value indicating whether the command will perform post back.

JS
set_clientTypeName(String value): void
Parameters:valueString

Sets a CSS class to the DockCommand.

JS
set_cssClass(String value): void
Parameters:valueString

The CSS class of the DockCommand.

Sets a name to the command.

JS
set_name(String value): void
Parameters:valueString

The name of the command.

Sets a parent Telerik.Web.UI.RadDock control.

JS
set_radDock(Telerik.Web.UI.RadDock value): void
Parameters:valueTelerik.Web.UI.RadDock

The parent Telerik.Web.UI.RadDock control.

Sets a text to the command.

JS
set_text(String value): void
Parameters:valueString

The text of the command.

Not finding the help you need?
Contact Support