Validation Controls

The Validation controls are used to test data entry fields for valid data (in the case of mobile device development, the TextBox and List controls). For more information, see Chapter 16.

<Mobile:RequiredFieldValidator> Control

The RequiredFieldValidator control checks to make sure that the value of another control is not a null value. Table F.15 lists the properties of the RequiredFieldValidator control.

Table F.15. Properties of the RequiredFieldValidator Control
Property Description
ID ID of the control.
Text Text value for a control.The value of this property takes priority over the setting in the validated control.
ControlToValidate ID of the control to validate.
Display Display behavior of the Validator control. If ...

Get Inside ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.