Data Binding

Data Binding

Data types

WebInput supports three data types to cover all your bases: numeric, datetime, and string. Display mode supports numeric and datetime data types, while the remaining input modes support all three data types.

Bound and unbound

WebInput supports both Bound and Unbound modes. Control-level data binding is not supported because the data that is processed is a simple data (not a list) and does not expose DataSource and DataMember properties. To set data in the WebInput.NET control, set the Value properties to a valid data field’s value.

Value and text

The Value property is responsible for returning and accepting a value with a specific DataType. When a value is assigned to the Value property, WebInput will automatically adjust the FormatType and the MaskType (when Display Format or Edit Format is enabled) as well as reflecting the Text property. The Text property represents a value that has already been formatted, validated and masked while the Value property represents the value in the original DataType, in unformatted, unmasked format.

Previous Next