System.Web.UI.WebControls.BaseValidator: Method Members

The methods of System.Web.UI.WebControls.BaseValidator are listed below. For a list of all members, see the BaseValidator Members list.

See Also: Inherited members from System.Web.UI.WebControls.Label

Public Methods

static
GetValidationProperty(object) : System.ComponentModel.PropertyDescriptor

Determines the validation property of a control (if it exists).

Validate()

Performs validation on the associated input control and updates the BaseValidator.IsValid property.

Protected Methods

override
AddAttributesToRender(System.Web.UI.HtmlTextWriter)

Adds the HTML attributes and styles that need to be rendered for the control to the specified System.Web.UI.HtmlTextWriter object.

CheckControlValidationProperty(string, string)

Verifies whether the specified control is on the page and contains validation properties.

ControlPropertiesValid() : bool

Determines whether the control specified by the BaseValidator.ControlToValidate property is a valid control.

DetermineRenderUplevel() : bool

Determines whether the validation control can perform client-side validation.

abstract
EvaluateIsValid() : bool

When overridden in a derived class, this method contains the code to determine whether the value in the input control is valid.

GetControlRenderID(string) : string

Gets the client ID of the specified control.

GetControlValidationValue(string) : string

Gets the value associated with the specified input control.

override
OnInit(EventArgs)

Raises the System.Web.UI.Control.Init event.

override
OnPreRender(EventArgs)

Raises the System.Web.UI.Control.PreRender event.

override
OnUnload(EventArgs)

Raises the System.Web.UI.Control.Unload event.

RegisterValidatorCommonScript()

Registers code on the page for client-side validation.

RegisterValidatorDeclaration()

Registers an ECMAScript array declaration using the array name Page_Validators.

override
Render(System.Web.UI.HtmlTextWriter)

Displays the control on the client.