FormHelperGetFieldControlTypesWithUserControls Method |
Returns dataset with control types and user controls.
Namespace: CMS.FormEngineAssembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 11.0.0
Syntax 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:
DataSetSee Also