Provides the core implementation for all validation controls derived from this class. As an abstract class, it cannot be instantiated.
public abstract class System.Web.UI.MobileControls.BaseValidator : System.Web.UI.MobileControls.TextControl, System.Web.UI.IValidator
The BaseValidator class inherits from the TextControl base class, and thus has a Text property. In the event of an invalid entry, the validator displays the value of the Text property. If the property is not set, the validator displays the value of the ErrorMessage property instead; this is the text that is shown in the ValidationSummary control. This behavior is consistent with Web Forms validators.
Of the ASP.NET mobile controls, those that support validation are the TextBox control (its Text property) and the SelectionList control (its SelectedIndex property). Other controls can participate in validation by including a ValidationPropertyAttribute attribute. For more information, see the Validating Against a Specific Value documentation.