method of the eventArgs parameter does not prevent the default response on built-in command types. It only prevents any subsequent OnClientCommand
events and the server-side Command
event. More information you can find in this help article
. If you want to add confirmation message when clicking on close command and close the docks if the user confirms the action I suggest you use a CustomCommand and call the set_closed
method in the OnClientCommand
handler. You can use the RadDock's Commands online example
If you need further assistance, do contact us again.
the Telerik team