asp.net - UrlReferrer return nothing -


my webpage has 1 button , 1 html <a> tag open same page. can urlreferrer clicking <a> tag. if clicked button, urlreferrer nothing. need know whether user clicked button have difference view . can me solve issue.

there script on asp.net page

btn.attributes("onclick") = "window.open('orderdetails.aspx?btnreservereleasedclicked=1&orderid=" & objorder.orderid & "','_self');return false"   <a href="orderdetails.aspx?orderid=454057" class="body">orders</a> 

there no urlreferrer value because initial request in chain. in other words, did not redirect asp.net resource, asp.net came nowhere.

since using query string in onclick attribute, append value tells orderdetails.aspx page control called (button or else).


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -