Button click to previous page asp.net

spida man

New Member
I am know some .Net basic but i need to do more advanced thing and I am stuck.I have empClientProfile.aspx page access to this page possible from different places (from list of clients, direct from menu and other.) I want to put button by pressing which it will redirect user on exact same page as he/she was before. For example if client doing select from agencies it should forward to exact same page with that select. If this page was accessed from main menu it should forward to home menu.Using \[code\]PostBackURL\[/code\] doesn't work here because as I said page can be reached from different pages.Any Ideas how to do it?
 
Back
Top