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 try this one:
<%: this.ContentPlaceHolder1.Page.GetType().Name.Split('_')[0].ToUpper() %>
Put that code within the title tags of the Site.Master
title
Site.Master