Click or drag to resize
TransformationHelperLoadTransformation Method
Loads the transformation template. Supports the following formats of transformation name: [Some text with macros] - Inline transformation cms.user.sometransformation - Transformation full name from database ~/SomePath/SomeControl.ascx - Path to transformation user control

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
public static ITemplate LoadTransformation(
	Control parent,
	string transformationName,
	EditModeButtonEnum editButtonsMode = EditModeButtonEnum.None
)

Parameters

parent
Type: System.Web.UIControl
Parent control
transformationName
Type: SystemString
Transformation name
editButtonsMode (Optional)
Type: CMS.PortalEngineEditModeButtonEnum
Specify which editing buttons should be displayed

Return Value

Type: ITemplate
See Also