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: 13.0.131
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
InvalidOperationExceptionUsed master page is not ICMSModalMasterPage
See Also