Monday, 21 May 2012

ASP.NET Hyperlink SERVER CONTROL | Navigate URL | Redirects to New URL

Paste Into ASPX Source

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="hyperlink.aspx.cs" Inherits="hyperlink" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head id="Head1" runat="server">
<title>ASP.NET EXAMPLES | Hyperlink SERVER CONTROL | Navigate URL | Redirects to New URL</title>
<form id="form1" runat="server">
<div style="border: 2px; font-size:12px; border-color: Black; border-style: solid; color: White;
background-color: Red; font-weight: bold; font-family: Tahoma"
By : <a href="" style="color:Yellow" target="_search">asp-examples</a>
(Click to get more Examples)
<br />
Author : Akash Parmar<br />
Company Name : Soft-Tech Designs n Development<br />
We Design your Dreams - Develop your Life...
ASP.NET Hyperlink Control Example - Navigate URL - Redirects a client to specified URL
<br /><br />
1) Redirects in new Tab or Window :
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="" Target="_blank">Click Here To Go To Google - Target - Blank >></asp:HyperLink>
<br /><br />
2) Redirects in Same Tab or Window :
<asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="" Target="_parent">Click Here To Go To Google - Target - Parent >></asp:HyperLink>


ellieshilton said...

I’m seriously happy to discover this great site the future of this blog is getting good and more useful for me thanks and god bless you.
IT Learning

aspexamples said...

Thank you ellieshilton
I m so happy for your nice comments...

Albert Andrada said...

Really Nice Information,Thank You Very Much For Sharing.
Web Development Company

Post a Comment

Ranking Website Directory | seo tool | Manoli | ASPDOTNETGUIDE