Find the url of the current page from code behind.

  • Thread starter Thread starter MattC
  • Start date Start date
MattC said:
Hi,

Looking for something along the lines of Page.URL or page filename.

TIA

MattC

Look into the Request object and it's properties Path, RawUrl, Url

Hans Kesting
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top