System.Web.UI.WebControls.CommandField.UpdateText Property

Gets or sets the caption for an Update button in a System.Web.UI.WebControls.CommandField field.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

When the ButtonFieldBase.ButtonType property of a System.Web.UI.WebControls.CommandField field is set to ButtonType.Button or ButtonType.Link, use the CommandField.UpdateText property to specify the text to display in an Update button.

Note:

As an alternative to displaying text for an Update button, you can display an image by first setting the ButtonFieldBase.ButtonType property to ButtonType.Image and then setting the CommandField.UpdateImageUrl property.

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: 2.0.0.0
Since: .NET 2.0