Click or drag to resize
ScriptHelper.GetModalDialogScript Method (String, String, Int32, Int32, Boolean)
Returns script which opens modal dialog.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string GetModalDialogScript(
	string resolvedURL,
	string dialogName,
	int windowWidth,
	int windowHeight,
	bool returnFalse = true
)

Parameters

resolvedURL
Type: System.String
Resolved URL to open in modal dialog.
dialogName
Type: System.String
Name of dialog
windowWidth
Type: System.Int32
Modal window width.
windowHeight
Type: System.Int32
Modal window height
returnFalse (Optional)
Type: System.Boolean
If true, the script returns false

Return Value

Type: String
See Also