Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Jul 08, 2010 03:53 AM|LINK
I've also tried de Page.ToString() but If MS change this it won't work anymore.
I've finally use this to get only the filename + extension of the file
string file = Request.CurrentExecutionFilePath.Split('/');
string fileName = file[file.Length-1];
Pretty basic, I hope this help.