ScriptHelperRegisterSaveShortcutT Method (T, String, String) |
Registers a control which when invoked via keyboard shortcut saves the document.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 10.0.0
Syntax public static void RegisterSaveShortcut<T>(
T saveControl,
string argument,
string customScript
)
where T : Control, IPostBackEventHandler
Parameters
- saveControl
- Type: T
A control which when invoked saves the document - argument
- Type: SystemString
A string of optional arguments to pass to the control that processes the postback - customScript
- Type: SystemString
Custom java-script to execute
Type Parameters
- T
- A control that implements the IPostBackEventHandler interface
See Also