Click or drag to resize
CMSDialogHelperGetDialogUrl Method (DialogConfiguration, Boolean, Boolean, String)
Returns complete URL according to the dialog configuration.

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 9.0.0
Syntax
C#
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: String
See Also