Ejemplo n.º 1
0
 protected override void Render(HtmlTextWriter writer)
 {
     using (new DNNContext(this))
     {
         try
         {
             base.Render(writer);
             menu.Render(writer);
         }
         catch (Exception exc)
         {
             Exceptions.ProcessModuleLoadException(this, exc);
         }
     }
 }
Ejemplo n.º 2
0
 protected override void Render(HtmlTextWriter htmlWriter)
 {
     using (new DNNContext(this))
     {
         try
         {
             base.Render(htmlWriter);
             if (menu == null)
             {
                 htmlWriter.WriteEncodedText("Please specify menu style in settings.");
             }
             else
             {
                 menu.Render(htmlWriter);
             }
         }
         catch (Exception exc)
         {
             Exceptions.ProcessModuleLoadException(this, exc);
         }
     }
 }
Ejemplo n.º 3
0
 protected override void Render(HtmlTextWriter htmlWriter)
 {
     using (new DNNContext(this))
         menu.Render(htmlWriter);
 }