Hyperlink

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};
 
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};

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top