How can I get the URL of the aspx page from code behing?

Posted by burak ozdogan on Stack Overflow See other posts from Stack Overflow or by burak ozdogan
Published on 2010-03-31T14:28:54Z Indexed on 2010/03/31 14:33 UTC
Read the original article Hit count: 453

Filed under:
|
|
|

Hi,

How can I get the url of the active aspx page from the code behind so that I can assign it to a string variable?

Does it make a difference in what page-lifecycle stage I call this?

Thanks

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about url