CMSDialogHelperGetDialogUrl Method (DialogConfiguration, Boolean, Boolean, String, Boolean) |
Returns complete URL according to the dialog configuration.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 10.0.0
Syntax public static string GetDialogUrl(
DialogConfiguration config,
bool liveSite,
bool encode,
string ckBasePath,
bool getAbsolute
)
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 - getAbsolute
- Type: SystemBoolean
Indicates if absolute url should be generated
Return Value
Type:
StringSee Also