Click to open new tab with Hyperlink control in asp.net


The following is the code for open new tab when we click on hyperlink button in asp.net
<asp:HyperLink
ID="hlnk"
runat="server"
ForeColor="Blue"
NavigateUrl="http://nareshkamuni.blogspot.com" 
ToolTip="Click to Open Mysite" Text=".Net Tutorial"
Target="_blank">
</asp:HyperLink>




1 comment: