FormControlsHelperLoadFormControl Method |
Loads the given form control from its definition.
Namespace: CMS.FormControlsAssembly: CMS.FormControls (in CMS.FormControls.dll) Version: 8.2.23
Syntax public static FormEngineUserControl LoadFormControl(
Page page,
string controlName,
string fieldName,
BasicForm form = null,
bool loadDefaultProperties = true
)
Parameters
- page
- Type: System.Web.UIPage
Page where the form control should be loaded - controlName
- Type: SystemString
Form control code name - fieldName
- Type: SystemString
Field name - form (Optional)
- Type: CMS.FormControlsBasicForm
Form - loadDefaultProperties (Optional)
- Type: SystemBoolean
If true, the default properties for the control are set
Return Value
Type:
FormEngineUserControlSee Also