C# Class ProjectName.Web.Controls.ValidationHandler

Inheritance: MonoSoftware.MonoX.BaseUserControl
Afficher le fichier Open project: MonoSoftware/MonoX-Templates

Protected Properties

Свойство Type Description
customValidators List>
up global::System.Web.UI.UpdatePanel

Méthodes publiques

Méthode Description
RegisterFieldValidator ( BaseValidator validator ) : bool

Register field validator.

RegisterFieldValidator ( BaseValidator validator, string controlToValidateClientID ) : bool

Register field validator.

RegisterFieldValidator ( string validatorClientID, string controlToValidateClientID, bool isRequired ) : bool

Register field validator.

ValidationHandler ( ) : System

Constructor.

Méthodes protégées

Méthode Description
FindControlRecursive ( Control control, string id ) : Control

Recursively finds a child control by Id.

OnPreRender ( EventArgs e ) : void

Method Details

FindControlRecursive() protected méthode

Recursively finds a child control by Id.
protected FindControlRecursive ( Control control, string id ) : Control
control System.Web.UI.Control Control
id string Child control's Id
Résultat System.Web.UI.Control

OnPreRender() protected méthode

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
Résultat void

RegisterFieldValidator() public méthode

Register field validator.
public RegisterFieldValidator ( BaseValidator validator ) : bool
validator System.Web.UI.WebControls.BaseValidator Validator.
Résultat bool

RegisterFieldValidator() public méthode

Register field validator.
public RegisterFieldValidator ( BaseValidator validator, string controlToValidateClientID ) : bool
validator System.Web.UI.WebControls.BaseValidator Validator.
controlToValidateClientID string Control to validate client id.
Résultat bool

RegisterFieldValidator() public méthode

Register field validator.
public RegisterFieldValidator ( string validatorClientID, string controlToValidateClientID, bool isRequired ) : bool
validatorClientID string Validator client id.
controlToValidateClientID string Control to validate client id.
isRequired bool Is required field.
Résultat bool

ValidationHandler() public méthode

Constructor.
public ValidationHandler ( ) : System
Résultat System

Property Details

customValidators protected_oe property

Custom registered validators.
protected List> customValidators
Résultat List>

up protected_oe property

up control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UpdatePanel up
Résultat global::System.Web.UI.UpdatePanel