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?
Use the Below code.
Page.ToString().Replace("ASP.","").Replace("_",".")