System.Web.UI.HtmlControls.HtmlAnchor.CausesValidation Property

Gets or sets a value indicating whether validation is performed when the System.Web.UI.HtmlControls.HtmlAnchor control is clicked.

Syntax

[System.ComponentModel.DefaultValue(true)]
public virtual bool CausesValidation { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

By default, page validation is performed when an System.Web.UI.HtmlControls.HtmlAnchor control is clicked. Page validation determines whether controls that are associated with a validation control on the page all pass the validation rules that are specified by the validation control.

You can specify or determine whether validation is performed on both the client and the server when an System.Web.UI.HtmlControls.HtmlAnchor control is clicked by using the HtmlAnchor.CausesValidation property. To prevent validation from being performed, set the HtmlAnchor.CausesValidation property to false.

Requirements

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0