FormField Class |
Namespace: CMS.FormControls
public class FormField : PlaceHolder
The FormField type exposes the following members.
Name | Description | |
---|---|---|
CreateChildControls |
Creates the child controls.
(Overrides ControlCreateChildControls.) | |
EnsureControls |
Ensures the child controls of the control.
| |
EnsureInnerControls |
Ensures the additional inner controls.
| |
LoadErrorLabel |
Loads the field error label.
| |
LoadFormControl |
Loads the form control.
| |
LoadLabel |
Loads the field label.
| |
OnInit |
Init event handler.
(Overrides ControlOnInit(EventArgs).) |
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
AutomaticValue |
Automatic value when the form control is missing (resolves macros in the given string).
| |
CssClass |
Field's CSS Class.
| |
DevelopmentModeOnly |
If true, the field is visible only in development mode
| |
DisplayColon |
Indicates if colon (:) should be displayed behind the field label. False by default.
| |
DisplayLabel |
Indicates if label should be displayed in inline layout. Default value is True.
| |
EditingControl |
Editing control.
| |
ErrorLabel |
Error label.
| |
Field |
Field name for the inner controls. This property is only supported in templated form.
| |
Form |
Form where the control is used.
| |
FormControl |
Form control.
| |
FormFieldInfo |
FormFieldInfo for current control.
| |
HideOnLiveSite |
If true, the field is hidden on the live site.
| |
CheckUnique |
If true, the field is checked for uniqueness. This property is only supported in UIForm.
| |
Label |
Field label.
| |
Layout |
Layout of the field.
| |
ResourceString |
Resource string for the label.
| |
ShowRequiredMark |
Indicates if required mark (*) should be displayed behind the field label. False by default.
| |
Text |
Text for the label, has higher priority.
| |
ToolTipResourceString |
Name of a resource string used for tooltip.
| |
Trim |
If true, the value is trimmed. This property is only supported if used inside the form control.
| |
UseFFI |
Indicates if control should load properties from FormFieldInfo. Default TRUE.
| |
Value |
Value used for initialization as default value.
|