This documentation is archived and is not being maintained.

Wizard.CancelButtonText Property

Gets or sets the text caption that is displayed for the Cancel button.

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

No code example is currently available or this language may not be supported.
<asp:Wizard CancelButtonText="String" />

Property Value

Type: System.String
The text caption displayed for Cancel on the Wizard. The default is "Cancel". The default text for the control is localized based on the current locale for the server.

The CancelButtonText property contains the text that is displayed for the Cancel button on the Wizard control. Depending on the value of the CancelButtonType property, the CancelButtonText property can appear as text on a button, as text displayed as an alternative to an image, or as the text of a link. The following table lists the CancelButtonType values and their respective effects on the Cancel button text.

Button

Text appears on the button.

Image

Text appears as alternative text for the image.

Link

Text appears as a link.

The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see LocalizableAttribute and ASP.NET Globalization and Localization.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: