asp.net.ph

ButtonColumn.Text Property

System.Web.UI.WebControls Namespace   ButtonColumn Class


Sets or retrieves the text caption to display for the buttons in the column.

Syntax


Inline <asp:buttoncolumn text = strText ... >
Script ButtonColumn.Text = strText

Property Value


strText String specifying the text caption for the buttons in the column.

The property is read/write with no default value.

Remarks

Use the Text property to specify the text caption to display for the buttons in the column.

NOTE: When this property is set, all buttons in the column share the same text caption.

To provide a separate text caption for each hyperlink in the column, use the DataTextField property.

NOTE: The DataTextField and Text properties cannot both be set at the same time. If both properties are set, the DataTextField property takes precedence.

See Also

ButtonColumn Members   Adding Button Columns to a DataGrid Control 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