How could I find (file) name with parameters of current page using C# in code behind? E.g with:
mysite.com/folder1/car.aspx?car_id=1®ion=3
I want to get the string car.aspx?car_id=1®ion=3
This should work for you:
Request.Url.AbsolutePath
Also you can use this :
Request.Url.PathAndQuery
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With