Click or drag to resize
ScriptHelperGetModalDialogScript Method (String, String, Int32, Int32, Boolean)

Note: This API is now obsolete.

Returns script which opens modal dialog.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use 'Base.Web.UI.ScriptHelper.GetModalDialogScript(System.String, System.String, System.Int32, System.Int32)' instead.")]
public static string GetModalDialogScript(
	string resolvedURL,
	string dialogName,
	int windowWidth,
	int windowHeight,
	bool returnFalse
)

Parameters

resolvedURL
Type: SystemString
Resolved URL to open in modal dialog.
dialogName
Type: SystemString
Name of dialog
windowWidth
Type: SystemInt32
Modal window width.
windowHeight
Type: SystemInt32
Modal window height
returnFalse
Type: SystemBoolean
If true, the script returns false

Return Value

Type: String
See Also