Click or drag to resize
FormHelperGetFormUserControlsForDataType Method
Returns DataSet with FormUserControlInfo objects that supports specified datatype.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 8.2.23
Syntax
C#
public static DataSet GetFormUserControlsForDataType(
	string dataType,
	bool emptyRow,
	FieldEditorControlsEnum fieldEditorControls,
	bool simplifiedMode,
	FormUserControlTypeEnum controlType = FormUserControlTypeEnum.Unspecified
)

Parameters

dataType
Type: SystemString
Supported data type
emptyRow
Type: SystemBoolean
Indicates whether empty datarow is added to the result
fieldEditorControls
Type: CMS.FormEngineFieldEditorControlsEnum
Indicates which controls should be displayed when selecting custom user control from the list
simplifiedMode
Type: SystemBoolean
Indicates whether it is a simplified mode
controlType (Optional)
Type: CMS.FormEngineFormUserControlTypeEnum
Form user control type

Return Value

Type: DataSet
See Also