Click or drag to resize
ExternalEditHelperLoadExternalEditControl Method
Loads the control to the given control.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.2.23
Syntax
C#
public static ExternalEditControl LoadExternalEditControl(
	Control ctrl,
	FileTypeEnum type,
	string siteName,
	IDataContainer data,
	bool isLiveSite,
	TreeNode node = null,
	bool clearControls = false
)

Parameters

ctrl
Type: System.Web.UIControl
Control to load into
type
Type: CMS.UIControlsFileTypeEnum
Source type
siteName
Type: SystemString
Site name
data
Type: CMS.BaseIDataContainer
Media data
isLiveSite
Type: SystemBoolean
If true, the control is displayed on live site
node (Optional)
Type: CMS.DocumentEngineTreeNode
Attachment parent document
clearControls (Optional)
Type: SystemBoolean
If true, the controls collection of the target control is cleared

Return Value

Type: ExternalEditControl
See Also