ScriptHelperGetModalDialogScript Method (String, String, Int32, Int32, Boolean) |
Returns script which opens modal dialog.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static string GetModalDialogScript(
string resolvedURL,
string dialogName,
int windowWidth,
int windowHeight,
bool returnFalse = true
)
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 (Optional)
- Type: SystemBoolean
If true, the script returns false
Return Value
Type:
StringSee Also