Hi,
Can I retrieve programatically the name of the current page in the code behind?
Thank you,
svatasoiu
Printable View
Hi,
Can I retrieve programatically the name of the current page in the code behind?
Thank you,
svatasoiu
You can always extrapolate it from Request.FilePath, although I'm sure there's a better .netty way...
Do you mean the url? you can use this for the whole url
(Page.Request.Url.ToString) and then I suppose to some string function to trim it to the actually name.aspx if that is what you mean