Author: Nagaharish.movva | Posted on: 4/24/2010 5:10:04 AM | Views : 440

Hi friends,
How to get current page URL, I used this "Request.Url" is working fine. But I am using URL rewrite. So it is not showing the current page URL. it is show the corrent URL of the Page. But I want the current page URL only. We can get this in client side. By using javascript "location.href". But I want same thing in server side. Is it possible?
example for Request.Url :-
http://localhost/mywebsite/products/car.aspx this is current page URL. ( I used rewriting url) I want this url in server side.
the I used request.Url
it is showing
http://localhost/mywebsite/themes/blacksliver/products.aspx this is the right path.
even it is not showing querystring too
(http://localhost/mywebsite/themes/blacksliver/products.aspx?p=car)
Please help me...!
Thanks,
Naga Harish Go to the complete details ...