CMSDialogHelperGetDialogUrl Method (DialogConfiguration, Boolean, Boolean, String, Boolean) |
Returns complete URL according to the dialog configuration.
Namespace: CMS.ExtendedControlsAssembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 9.0.0
Syntax public static string GetDialogUrl(
DialogConfiguration config,
bool liveSite,
bool encode,
string ckBasePath,
bool getAbsolute
)
Parameters
- config
- Type: CMS.ExtendedControlsDialogConfiguration
Dialog configuration - liveSite
- Type: SystemBoolean
Indicates if dialog is opened on the live site - encode
- Type: SystemBoolean
If true, the final URL is encoded - ckBasePath
- Type: SystemString
CK editor base path. If not empty relative url for CK plugin is returned - getAbsolute
- Type: SystemBoolean
Indicates if absolute url should be generated
Return Value
Type:
StringSee Also