| |||||||
HyperLink.Text PropertySystem.Web.UI.WebControls Namespace HyperLink Class Sets or retrieves the text displayed for a HyperLink control. Syntax
Property Value
The property is read/write with no default value. RemarksUse the Text property to specify or determine the caption displayed for the HyperLink control. If an ImageUrl is defined, it will take precedence over this property. This property will then be used as the alternate text for the image. In certain cases, as when hyperlinks are used within templated controls, the Text property is usually obtained dynamically from a data source. ExampleThe following example shows how to declaratively set the Text property of a HyperLink control at design time. <asp:hyperlink runat = "server" text = "Simply awesome" navigateurl = "~/index.aspx" /> See AlsoHyperLink Members ImageUrl NavigateUrl |
| ||||||
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