<asp:HyperLink AccessKey="string" BackColor="color name|#dddddd" BorderColor="color name|#dddddd" BorderStyle="NotSet|None|Dotted|Dashed|Solid|Double|Groove|Ridge| Inset|Outset" BorderWidth="size" CssClass="string" Enabled="True|False" EnableTheming="True|False" EnableViewState="True|False" Font-Bold="True|False" Font-Italic="True|False" Font-Names="string" Font-Overline="True|False" Font-Size="string|Smaller|Larger|XX-Small|X-Small|Small|Medium| Large|X-Large|XX-Large" Font-Strikeout="True|False" Font-Underline="True|False" ForeColor="color name|#dddddd" Height="size" ID="string" ImageUrl="uri" NavigateUrl="uri" OnDataBinding="DataBinding event handler" OnDisposed="Disposed event handler" OnInit="Init event handler" OnLoad="Load event handler" OnPreRender="PreRender event handler" OnUnload="Unload event handler" runat="server" SkinID="string" Style="string" TabIndex="integer" Target="string|_blank|_parent|_search|_self|_top" Text="string" ToolTip="string" Visible="True|False" Width="size" > </asp:HyperLink>
<%@ Page Language="C#" Debug="true" %> <script runat="server"> void Page_Load(object sender, EventArgs e) { this.HyperLink1.Text = "ThaiCreate.Com"; this.HyperLink1.NavigateUrl = "http://www.ThaiCreate.Com"; this.HyperLink1.Target = "blank"; this.HyperLink2.ImageUrl = "images.gif"; this.HyperLink2.NavigateUrl = "http://www.ThaiCreate.Com"; } </script> <html> <head> </head> <body> <form runat="server"> <asp:HyperLink id="HyperLink1" runat="server">HyperLink</asp:HyperLink> <br><br> <asp:HyperLink id="HyperLink2" runat="server">HyperLink</asp:HyperLink> </form> </body> </html>
ช่วยกันสนับสนุนรักษาเว็บไซต์ความรู้แห่งนี้ไว้ด้วยการสนับสนุน Source Code 2.0 ของทีมงานไทยครีเอท