RadControls for ASP.NET AJAX
The Command event occurs when postbacks are enabled and the user clicks on one of the command icons in the RadDock title bar.
The Command event handler receives two arguments:
The RadDock control whose title bar contains the command icon that the user clicked. This argument is of type object, but can be cast to the RadDock type.
A DockCommandEventArgs object. This object has a Command property, that provides access to the DockCommand object for the command that was clicked:
Use a Command event handler to provide a server-side implementation for custom commands or to augment the default behavior of built-in commands. For example, the following Command event handler implements a custom command that moves a docked control to the next docking position if it is not the last docked control in its parent's docking zone: