Click or drag to resize
CMSModalDesignPageSetCloseJavascript Method
Sets JavaScript to be processed when user clicks the Close button or the area around the modal window. This method can only be called when master page implements ICMSModalMasterPage.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.2.23
Syntax
C#
protected void SetCloseJavascript(
	string javaScript
)

Parameters

javaScript
Type: SystemString
JavaScript to be processed when user clicks the Close button or the area around the modal window
Exceptions
ExceptionCondition
GeneralCMSExceptionUsed master page is not ICMSModalMasterPage
See Also