0 Replies - 936 Views - Last Post: 17 October 2007 - 07:06 AM

#1 girasquid  Icon User is offline

  • Barbarbar
  • member icon

Reputation: 108
  • View blog
  • Posts: 1,825
  • Joined: 03-October 06

Get Script File Name

Posted 17 October 2007 - 07:06 AM

Description: Insert this piece of code anywhere you want to find out what the name of the page is.This snippet will retrieve the name of the file that it's inside of for you. I found it at http://www.jeremywad...?blogentryid=51
<%=System.IO.Path.getFileName(HttpContext.Current.Request.FilePath) %> 


Is This A Good Question/Topic? 0
  • +

Page 1 of 1