Edit

Share via


BaseValidator.CreateWebValidator Method

Definition

Virtual method for derived class to create its own aggregated Web validator. The Web validator is for getting and setting of the common properties of Web base validator. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 virtual System::Web::UI::WebControls::BaseValidator ^ CreateWebValidator();
protected virtual System.Web.UI.WebControls.BaseValidator CreateWebValidator ();
abstract member CreateWebValidator : unit -> System.Web.UI.WebControls.BaseValidator
override this.CreateWebValidator : unit -> System.Web.UI.WebControls.BaseValidator
Protected Overridable Function CreateWebValidator () As BaseValidator

Returns

An aggregated Web validator.

Remarks

Creates and returns the corresponding Web Controls validator object. The default implementation of this method in a BaseValidator object returns null.

Applies to

See also