How to get the hyperlink source (ASP.Net C#)

  • Thread starter Thread starter amil [c#newbie]
  • Start date Start date
A

amil [c#newbie]

Hi all,

Given that I have two hyperlinks that points to the same page. Is it
possible to know which was hyperlink was clicked from the target page's
point of view?

TIA
 
amil said:
Hi all,

Given that I have two hyperlinks that points to the same page. Is it
possible to know which was hyperlink was clicked from the target page's
point of view?

TIA

The simpliest way is to make smth like this: the fisrt link is
"mypage.aspx?source=first", the second is "mypage.aspx?source=second". And
the check it with Request.QueryString. Or U need something else?
 
Right on the mark! Thanks for the reply.

B. Voronkov said:
The simpliest way is to make smth like this: the fisrt link is
"mypage.aspx?source=first", the second is "mypage.aspx?source=second". And
the check it with Request.QueryString. Or U need something else?
 
Back
Top