CMSDialogHelperGetDialogUrl Method (DialogConfiguration, Boolean, Boolean, String) |
Returns complete URL according to the dialog configuration.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
Syntax public static string GetDialogUrl(
DialogConfiguration config,
bool liveSite,
bool encode,
string ckBasePath
)
Parameters
- config
- Type: CMS.Base.Web.UIDialogConfiguration
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