Wizard.CancelButtonText Property

Note: This property is new in the .NET Framework version 2.0.

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)

[LocalizableAttribute(true)] 
public virtual string CancelButtonText { get; set; }
/** @property */
public String get_CancelButtonText ()

/** @property */
public void set_CancelButtonText (String value)

public function get CancelButtonText () : String

public function set CancelButtonText (value : String)

Property Value

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 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: