I\'m writing code on the master page, and I need to know which child (content) page is being displayed. How can I do this programmatically?
You can use:
Request.CurrentExecutionFilePath