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?
Below code worked like a charmed ..try it
string PName = Request.UrlReferrer.Segments[Request.UrlReferrer.Segments.Length - 1];