From c6a5e49152f6a0ef41b16e5131456c5cbd48ce77 Mon Sep 17 00:00:00 2001 From: "Valeriano A.R" Date: Mon, 28 Sep 2015 23:16:41 +0200 Subject: [PATCH] Fix Document mode for MSIE --- VAR.Focus.Web/Pages/PageCommon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VAR.Focus.Web/Pages/PageCommon.cs b/VAR.Focus.Web/Pages/PageCommon.cs index 827e1e6..0e08735 100644 --- a/VAR.Focus.Web/Pages/PageCommon.cs +++ b/VAR.Focus.Web/Pages/PageCommon.cs @@ -114,12 +114,12 @@ namespace VAR.Focus.Web.Pages _head = new HtmlHead(); html.Controls.Add(_head); + _head.Controls.Add(new HtmlMeta { HttpEquiv = "X-UA-Compatible", Content = "IE=Edge" }); _head.Controls.Add(new HtmlMeta { HttpEquiv = "content-type", Content = "text/html; charset=utf-8" }); _head.Controls.Add(new HtmlMeta { Name = "author", Content = Globals.Author }); _head.Controls.Add(new HtmlMeta { Name = "Copyright", Content = Globals.Copyright }); Assembly asm = Assembly.GetExecutingAssembly(); string version = asm.GetName().Version.ToString(); - _head.Controls.Add(new LiteralControl("\n")); _head.Controls.Add(new LiteralControl(String.Format("\n", version))); _head.Controls.Add(new LiteralControl(String.Format("\n", version)));