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 Value

Type: System::Boolean

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.

.NET Framework
Available since 2.0
Return to top
Show: