Click or drag to resize
EditableWebPartPropertyGetHTMLCode Method
Gets the HTML code of the editable property

Namespace: CMS.PortalControls
Assembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 8.2.23
Syntax
C#
public static string GetHTMLCode(
	string elementId,
	CMSAbstractWebPart parentWebPart,
	string propertyName,
	int lineNumber,
	EditablePropertyTypeEnum type,
	string value,
	string cssClass,
	string style,
	string formControlName,
	bool encode
)

Parameters

elementId
Type: SystemString
Element ID
parentWebPart
Type: CMS.PortalControlsCMSAbstractWebPart
Parent web part
propertyName
Type: SystemString
Property name
lineNumber
Type: SystemInt32
Line number to edit
type
Type: CMS.PortalControlsEditablePropertyTypeEnum
Property type
value
Type: SystemString
Property value
cssClass
Type: SystemString
CSS class
style
Type: SystemString
Style
formControlName
Type: SystemString
Form control name
encode
Type: SystemBoolean
Flag whether the property should be encoded or not

Return Value

Type: String
See Also