HOW TO GET PREVIOUS PAGE URL.

Vikas Giri

Total Post:13

Points:91
Posted by  Vikas Giri
 2204  View(s)
Ratings:
Rate this:
Hi all,
I want to redirect on the previous page. so i want to get previous page path give the right solution of its.

  1. Amit Singh

    Post:103

    Points:721
    Re: How to get previous page url.

    hi vikas,

    we get the previous page path by using this
    Request.UrlReferrer

    It give the previous page url, if you want to redirect page to the previous page as
     Response.redirect(Request.UrlReferrer.ToString());

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!