Click or drag to resize
FormHelperGetFieldControlTypesWithUserControls Method
Returns dataset with control types and user controls.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 8.2.23
Syntax
C#
public static DataSet GetFieldControlTypesWithUserControls(
	string fieldType,
	FieldEditorControlsEnum fieldEditorControls,
	bool simplifiedMode,
	bool isPrimary,
	FormUserControlTypeEnum type = FormUserControlTypeEnum.Unspecified
)

Parameters

fieldType
Type: SystemString
Field type, can be empty for simplified mode
fieldEditorControls
Type: CMS.FormEngineFieldEditorControlsEnum
Indicates which controls should be displayed when selecting custom user control from the list
simplifiedMode
Type: SystemBoolean
Indicates whether get controls for simplified mode(advanced mode is set by default)
isPrimary
Type: SystemBoolean
Indicates whether it is a 'primary key' field
type (Optional)
Type: CMS.FormEngineFormUserControlTypeEnum
FormUserControlTypeEnum type of control

Return Value

Type: DataSet
See Also