asp.net.ph

HyperLinkColumn.Text Property

System.Web.UI.WebControls Namespace   HyperLinkColumn Class


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

Syntax


Inline <asp:hyperlinkcolumn text = strText ... >
Script HyperLinkColumn.Text = strText

Property Value


strText String specifying the text caption for the hyperlinks 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 hyperlinks in the column.

NOTE: When this property is set, all hyperlinks 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

HyperLinkColumn Members   Adding HyperLink 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