Author Topic: retrieve the page url in c# code Asp.net  (Read 6994 times)

Offline admin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 296
    • View Profile
retrieve the page url in c# code Asp.net
« on: July 06, 2008, 04:14:51 PM »
usually we use "~" in the aspx code but,
How can we retrieve the page url in c# code?
The answer is:

Request.Url.AbsoluteUri

Have fun :)