You are here: Skip Navigation Linksxnodesystems.com > Products > XField Suite > Field Panel

Field Panel - ASP.NET data entry fields container control

Field Panel is an ASP.NET Web container control rendered as HTML fieldset tag that is used to group and manage other server controls, especially field controls, on a page. This control allows users to globally manage the layout as well as the look and feel of field controls on a page.

Implementation

Field Panel is implemented by the FieldPanel class.

Documentation

Click here to see the documentation of the FieldPanel class.

Field Management

In addition to being a container server control to hold other controls, the main reason why Field Panel is created is to help client manage the field controls, especially the layout as well as the look and feel of field controls, on a page. To achieve this goal, Field Panel exposes the following properties:

Property Name Property Type Default Value Description
FieldManager FieldManagerSettings
  • FieldManager.DataCssClassOnError = ""
  • FieldManager.EnableGraphicalResult = true
  • FieldManager.ErrorCssClass = ""
  • FieldManager.ErrorInNewLine = false
  • FieldManager.InvalidImageUrl = ""
  • FieldManager.LabelCssClass = ""
  • FieldManager.LabelCssClassOnError = ""
  • FieldManager.ValidImageUrl = ""
Gets the settings that manages the instances of FieldControl contained in this instance of FieldPanel.
NullableFieldManager NullableFieldManagerSettings
  • NullableFieldManager.DataInNewLine = false
  • NullableFieldManager.FixedLabelWidth = true
  • NullableFieldManager.LabelAlignRight = true
  • NullableFieldManager.LabelWidth = 200
  • NullableFieldManager.NotNullSymbolColor = "red"
Gets the settings that manages the instances of NullableField contained in this instance of FieldPanel.
RenderHtmlTag System.Boolean true Gets or sets a value indicating whether this instance of FieldPanel should render HTML tag or not. When this property is set to false, FieldPanel will function as a pure field managing control.

Here the FieldControl and NullableField are the base classes that logically group all field controls in the XNode.Web.XField assembly. The following table shows the logical grouping of all field controls:

Control Name Control Type Is Nullable Field? Is Field Control?
Boolean Field XNode.Web.XField.Controls.BooleanField No Yes
Credit Card Field XNode.Web.XField.Controls.CreditCardField Yes
CVV Code Field XNode.Web.XField.Controls.CVVCodeField
Date Field XNode.Web.XField.Controls.DateField
Description Field XNode.Web.XField.Controls.DescriptionField
Dynamic List Field XNode.Web.XField.Controls.DynamicListField
Email Address Field XNode.Web.XField.Controls.EmailAddressField
Gross Date Field XNode.Web.XField.Controls.GrossDateField
List Field XNode.Web.XField.Controls.ListField
Multi-Select List Field XNode.Web.XField.Controls.MultiSelectListField
Number Field XNode.Web.XField.Controls.NumberField
Numeric Field XNode.Web.XField.Controls.NumericField
Text Field XNode.Web.XField.Controls.TextField

View Field Panel Demo.

Go to top