asp.net.ph

EditCommandColumn.EditText Property

System.Web.UI.WebControls Namespace   EditCommandColumn Class


Sets or retrieves the text to display for the Edit command button in the column.

Syntax


Inline <asp:editcommandcolumn edittext = strText ... >
Script EditCommandColumn.EditText = strText

Property Value


strText The caption to display for the Edit command button in the column.

The property is read/write with no default value.

Remarks

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.

Example

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" />
See Also

EditCommandColumn Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph