Default controls

The predefined controls are available in every DataWeb instance and have a dedicated class derived from ControlBase.
The behavior, properties, and events of these controls are already set but can be further customized by deriving the new class from the predefined ones.
 
Controllo Descrizione
ActionList
Displays a button for each associated action. Useful to highlight certain actions that might be hidden in the dedicated menu or for actions not strictly dependent on a control.
AutoComplete
Allows searching and selecting a value from a data source. The selected value must be present in the data source. Useful when the data source contains many items that would make the form too long or slow if displayed all at once.
AutoCompleteList Allows searching and selecting one or more values from a data source. The selected values must be present in the data source. Useful when the data source contains many items that would make the form too long or slow if displayed all at once.
CheckBoxList Allows selecting one or more values from a data source.
If DataType is set to Boolean, it automatically converts the selected value to true.
ColorPicker Allows selecting a color in hexadecimal format. Validation for color format is automatically applied.
CultureEditor Allows entering a value for each available culture in the DataWeb instance. If set as required, at least one value is necessary. Requires Structured as DataType.
CustomControl Allows creating a custom control from scratch, both server-side and client-side. It relies on the Control class, Control component name, and Custom control options properties for customization.
DataEditor Allows entering structured JSON data.
DateTimePicker Allows entering a date while showing additional fields based on DataType. For example, with Date, only the date selector is shown; with DateTime, both date and time selectors are shown; and with DateTimeOffset, an offset time selector is added.
DropDownList Allows selecting a value from a data source.
FileDownload Allows downloading the associated file.
FileRender Displays a preview of the associated file.
FileUpload Allows uploading a new file to the storage using specific control properties like supported formats or maximum size.
Label Displays the associated value applying formatting based on DataType.
ListBox Allows selecting one or more values from a data source.
If DataType is set to Boolean, it automatically converts the selected value to true.
ListEditor Allows creating a list of structured JSON data from an associated form through the related Form property.
Note Displays the control's title as a note.
RadioButtonList Allows selecting a value from a data source.
Slug Allows entering text suitable for insertion in a URL. All characters are converted to lowercase, and unsupported characters are replaced with hyphens.
TagEditor Allows entering a series of comma-separated values.
TextBox Allows entering short text. Any HTML tags are removed.
TextArea Allows entering long text. Any HTML tags are removed.
TextEditor Allows managing long text formatted in HTML.
Title Displays the control's title to organize controls within the form.