System.Web.UI.WebControls Namespace EditCommandColumn Class
Sets or retrieves the text to display for the Update command button in the column.
Inline |
<asp:editcommandcolumn updatetext = strText ... > |
Script |
EditCommandColumn.UpdateText = strText |
strText |
The caption to display for the Update command button in the column. |
The property is read/write with no default value.
Use the UpdateText property to specify the text to display for the Update command button in the EditCommandColumn.
NOTE: You must provide a value for the UpdateText property. Otherwise, the Update command button will not appear in the EditCommandColumn.
The following example demonstrates how to set the UpdateText property at design time, to specify the caption for the Update command button.
<asp:editcommandcolumn
edittext = "Edit"
canceltext = "Cancel"
updatetext = "Update" />
EditCommandColumn Members