Ejemplo n.º 1
0
 protected override void OnPreRender(EventArgs e)
 {
     //VERY IMPORT FOR CHANGE CONTROL
     base.OnPreRender(e);
     //JavaScriptHelper.IncludeJQueryTabs(Page.ClientScript);
     JavaScriptHelper.IncludeJQuery(Page.ClientScript);
     JavaScriptHelper.IncludeDropdown(Page.ClientScript);
     JavaScriptHelper.IncludeProduction(Page.ClientScript);
     JavaScriptHelper.IncludeSearchMaster(Page.ClientScript);
     if ((bool?)HttpContext.Current.Session["benchmark"] ?? false)
     {
         HtmlMeta m = new HtmlMeta();
         m.Attributes["http-equiv"] = "X-UA-Compatible";
         m.Attributes["content"]    = "IE=edge";
         Page.Header.Controls.AddAt(0, m);
     }
 }