CMSModalDesignPageSetSaveJavascript Method |
Sets JavaScript to a Save and Close button. This method can only be called when master page implements
ICMSModalMasterPage.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 11.0.0
Syntax protected void SetSaveJavascript(
string javaScript
)
Parameters
- javaScript
- Type: SystemString
JavaScript to add to the Save and Close button
Exceptions Remarks
By using this method, the master page will also display 'Save and Close' button in the bottom of the page.
See Also