FormHelperGetFormUserControlsForDataType Method |
Returns DataSet with FormUserControlInfo objects that supports specified data type.
Namespace: CMS.FormEngineAssembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 11.0.0
Syntax 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 data row 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:
DataSetSee Also