Hyperlink

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a link in my aspx page. When I click on that link it should take me to
another page Login.aspx which is in another application named mysite.

So path will be ~/mysite/Login.aspx. where I am passing
AppID={0}&ReturnUrl={1};
 
I have a link in my aspx page. When I click on that link it should take me to
another page Login.aspx which is in another application named mysite.

So path will be ~/mysite/Login.aspx. where I am passing
AppID={0}&ReturnUrl={1};

HyperLink1.NavigateUrl = String.Format("mysite/Login.aspx?
AppID={0}&ReturnUrl={1}",
AppID,
Server.UrlEncode(HttpContext.Current.Request.RawUrl));
 
Back
Top