asp.net.ph

HyperLinkColumn.NavigateUrl Property

System.Web.UI.WebControls Namespace   HyperLinkColumn Class


Sets or retrieves the URL to navigate to when a hyperlink in the column is clicked.

Syntax


Inline <asp:hyperlinkcolumn navigateurl = strUrl ... >
Script HyperLinkColumn.NavigateUrl = strUrl

Property Value


strUrl String specifying the URL to navigate to when a hyperlink in the column is clicked.

The property is read/write with no default value.

Remarks

Use the NavigateUrl property to specify the URL to link to when a hyperlink in the column is clicked.

NOTE: When this property is set, all hyperlinks in the column share the same URL link.

To provide a separate URL for each hyperlink in the column, use the DataNavigateUrlField property.

NOTE: The DataNavigateUrlField and NavigateUrl properties cannot both be set at the same time. If both properties are set, the DataNavigateUrlField 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