System.Web.UI.WebControls.EditCommandColumn.CancelText Property

Gets or sets the text to display for the Cancel command button in the System.Web.UI.WebControls.EditCommandColumn.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue("")]
public virtual string CancelText { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the EditCommandColumn.CancelText property to specify the text to display for the Cancel command button in the System.Web.UI.WebControls.EditCommandColumn.

Note:

You must provide a value for the EditCommandColumn.CancelText property. Otherwise, the Cancel command button will not appear in the System.Web.UI.WebControls.EditCommandColumn.

The value of this property is stored in view state.

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

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0