| |||||||||||
HyperLink.NavigateUrl PropertySystem.Web.UI.WebControls Namespace HyperLink Class Sets or retrieves the destination of the HyperLink control. Syntax
Property Value
The property is read/write with no default value. RemarksUse the NavigateUrl property to specify or determine the URL to navigate to when the HyperLink control is clicked. The NavigateUrl property on a hyperlink can refer to:
In certain cases, as when hyperlinks are used within templated controls, the NavigateUrl property is usually obtained dynamically from a data source. ExampleThe following example shows how to declaratively set the ImageUrl property of a HyperLink control at design time. <asp:hyperlink runat = "server" text = "Simply awesome" imageurl = "~/shared/aspxtreme.jpg" navigateurl = "~/index.aspx" /> The following examples demonstrate how to dynamically bind the NavigateUrl property of HyperLink controls defined within templates.
See AlsoHyperLink Members ImageUrl Text |
| ||||||||||
Check out related books at Amazon
© 2000-2008 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 aspxtreme