Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am Using site.Webmap to populate the treeview of masterpage.
all menu redirect to a unique page (may be its default.aspx).
Now i want to know from which menu its come to this default.aspx page.

Menu:
Employee Redirect to Default.aspx
User Redirect to Default.aspx
Ledgers Redirect to Default.aspx

Now i want to know from which menu the default.aspx is open.
Posted

1 solution

The UrlReferrer will tell you which page the user came from. See https://msdn.microsoft.com/en-us/library/system.web.httprequest.urlreferrer(v=vs.110).aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900