HyperLink:
HyperLink generates a superjoin on the page. Its definition is as follows:
<Asp: HyperLink id = "hyperlink1" runat = "server" NavigateUrl = "http://www.asp888.net"
Text = "Tofu technology station".../>
Or use the code to define:
HyperLink hyperlink1 = new HyperLink ();
For HyperLink, its Url and Text are the most important attributes.
Text is the display Text represented by this super join in appearance. Note that if the ImageUrl attribute is defined for HyperLink
It indicates that the appearance table of the HyperLink is an Image, and the Text is automatically changed to the Alt attribute of the Image.
NavigateUrl: This attribute indicates the link of the current HyperLink.
ImageUrl: indicates that this join is an image join. As mentioned above, if it is an image join Text attribute, it will not work.
Target: it has the same meaning as the Target attribute in <a...>.
In addition, the Click event of HyperLink is also a very important attribute. Its Server-side Click Event and Button Click event play the same role.