CMSDialogHelperGetDialogUrl Method (DialogConfiguration, Boolean, Boolean, String) |
Returns complete URL according to the dialog configuration.
Namespace: CMS.ExtendedControlsAssembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 8.2.23
Syntax public static string GetDialogUrl(
DialogConfiguration config,
bool liveSite,
bool encode,
string ckBasePath
)
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
Return Value
Type:
StringSee Also