Share via


CreateWebValidator Method (Common)

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

protected virtual System.Web.UI.WebControls.BaseValidator
   CreateWebValidator()

Remarks

Called internally by ASP.NET Inheriting classes that adapt an existing Web Controls validator class can override this method to create the desired underlying ASP.NET Web Forms validator control.

See Also

Applies to: BaseValidator Class | CompareValidator Class | CustomValidator Class | RequiredFieldValidator Class | RegularExpressionValidator Class | RangeValidator Class |