Get PageName.aspx from Page object

abcd

New Member
I want to get the pagename.aspx from the current page object. I don't want to do it through HttpContext.Current.Request because if I'm already on the page and doing something why not just grab it from page...I don't need to worry about any context here.I guess page already has the name and I need to just append .aspx but is there a way to get the extension with it automatically?
 
Back
Top