IButtonControl.CausesValidation Property

Gets or sets a value indicating whether clicking the button causes page validation to occur.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

property bool CausesValidation {
	bool get ();
	void set (bool value);
}
/** @property */
boolean get_CausesValidation ()

/** @property */
void set_CausesValidation (boolean value)

function get CausesValidation () : boolean

function set CausesValidation (value : boolean)

Not applicable.

Property Value

true if clicking the button causes page validation to occur; otherwise, false.

A control that implements the IButtonControl interface must implement the CausesValidation property to indicate whether clicking the button causes page validation to occur.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: