Click or drag to resize
CMSModalPageSetCloseJavascript 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: 9.0.0
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