Lead Story appearing on all pages - how to hide on pages 2 to ....

Topics: ASP.NET 2.0, Themes
Feb 11, 2013 at 2:38 AM
I have my own theme that shows a lead story at the top. Only problem is that the lead story shows even on page 2, 3, 4 and so on. How do i hide the lead story image and heading on succeeding pages?
Feb 13, 2013 at 3:37 PM
May not be the most elegant but it works
   if (Request.RawUrl.ToLower().Equals("/default.aspx") | Request.RawUrl.ToString().Equals("/") | (Request.RawUrl.ToLower().Contains("?page=1")))