How to get Referrer Page URL

Posted by Goldytech under ASP.NET category on | Views : 7069
Sometimes in your application you want user to redirect to previous page from the current page.
You can use this code for it

ReturnUrl = Request.UrlReferrer.PathAndQuery

It returns the Absoulate path along with query strings.

Comments or Responses

Login to post response