Reputation: 267200
how to get the url without querystring values in asp.net?
Upvotes: 20
Views: 13128
Reputation: 4244
Request.Url.GetLeftPart(UriPartial.Path)
Upvotes: 52