ChangePassword.CancelButtonType Property
Gets or sets the type of button to use for the Cancel button when rendering the ChangePassword control.
Assembly: System.Web (in System.Web.dll)
abstract CancelButtonType : ButtonType with get, set override CancelButtonType : ButtonType with get, set
Property Value
Type: System.Web.UI.WebControls.ButtonTypeA ButtonType object that defines the type of button to render for the Cancel button. The property value can be one of the three ButtonType enumeration values: Button, Image, or Link. The default is Button.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The specified ButtonType is not one of the ButtonType values. |
The CancelButtonType property gets or sets the type (Button, Image, or Link) of Cancel button to use when rendering the ChangePassword control.
Available since 2.0
ChangePassword Class
System.Web.UI.WebControls Namespace
ASP.NET Login Controls Overview
Customizing the Appearance of ASP.NET Login Controls
ASP.NET Web Server Controls Templates
ASP.NET Themes and Skins
How To: Create ASP.NET Web Server Control Templates Dynamically
How to: Create ASP.NET Web Control Templates Declaratively
How to: Display Different Information to Anonymous and Logged In Users
Web Site Administration Tool Security Tab