How do you get the current Aspx page name? I am navigating from, say for example, first.aspx to second.aspx I would like to access these file names first.aspx and second.aspx in my code behind. Any help appreciated.
How do you get the current Aspx page name? I am navigating from, say for example, first.aspx to second.aspx I would like to access these file names first.aspx and second.aspx in my code behind. Any help appreciated.
Have you already tried Request.FilePath? Of course you have to process the text returned by this property. For example: Right(Request.FilePath, Request.FilePath.Length - InStrRev(Request.FilePath, "/")) (K)