' If this is IE If lIE Then ' If this is HTML5 If lHtml5 Then ' Remove set compatibility option from the top browser ' Force the page to work with set compatiblity off loHtmlGenericControl = New System.Web.UI.HtmlControls.HtmlGenericControl("Meta") loHtmlGenericControl.Attributes.Add("http-equiv", "X-UA-Compatible") loHtmlGenericControl.Attributes.Add("content", "IE=9") oHtmlHead.Controls.Add(loHtmlGenericControl) End If End If