Click or drag to resize
AbstractDefaultLayoutGetLiteralForLayoutWithTitle Method
Return literal control initialized with text that will be part of the form's layout and contain title attribute based on field's description.

Namespace: CMS.FormEngine.Web.UI
Assembly: CMS.FormEngine.Web.UI (in CMS.FormEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
protected LiteralControl GetLiteralForLayoutWithTitle(
	FieldCreationArgs args,
	string layoutText
)

Parameters

args
Type: CMS.FormEngine.Web.UIFieldCreationArgs
Container with objects necessary for form layout creation
layoutText
Type: SystemString
Layout text for literal; title attribute is put into the text on the place specified by placeholder "{0}"

Return Value

Type: LiteralControl
Remarks
Creation of title attribute - tooltip (based on field's description) is postponed to form's PreRender event.
See Also