示例#1
0
 /// <summary>
 /// Overriden. Renders the control content.
 /// </summary>
 /// <param name="writer"></param>
 protected override void Render(HtmlTextWriter writer)
 {
     // Checks if this is called by the Search Indexer and does not render anything if so.
     // Navigation controls are present in every page and should NOT be indexed multiple times.
     if (!CmsContext.IsRequestCrawler(this.Context))
     {
         base.Render(writer);
     }
 }