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

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

Parameters

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

Return Value

Type: String
See Also