Hi, I am trying to get the current page file name that i access to. Lets say i am at test.aspx page, i want it to return me "test" file name. I tried to use this.Page.toString(), it returned me "ASP.test_aspx" which is like half correct.... but i would like
to get only "test". 2nd question, this.Page.toString() will always return me in a format of ASP.[filename]_[fileextention]? If that's the case, maybe i can use splilt function to get the file name i want if there aren't any better solution than that. Thanks!
regards, weihann.
whloo
Member
185 Points
37 Posts
How to get current page file name?
Aug 25, 2003 03:50 PM|LINK