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