﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Heading Alignment issue in IE8</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Heading-Alignment-issue-in-IE8/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Heading Alignment issue in IE8</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Heading-Alignment-issue-in-IE8/</link><pubDate>Tue, 09 Aug 2011 09:36:17 GMT</pubDate><dc:creator>jamesmh2000</dc:creator><description>&lt;p&gt;Thanks, Karl - that's a neat idea. In my own code I have stuck with the XHTML doctype but have removed the &lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;meta&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;http-equiv&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="X-UA-Compatible"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;content&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="IE=8"/&amp;gt;&lt;/span&gt;&lt;/span&gt; tag from my master page. I had to change a few of my styles to get my layout to appear properly in IE8 when running in IE7 compatibility mode, but now it's working okay.&lt;/p&gt;
&lt;p&gt;Martin, I wouldn't say the issue is fixed exactly, but there are acceptable workarounds. Feel free to mark the issue as closed.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;</description></item><item><title>Heading Alignment issue in IE8</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Heading-Alignment-issue-in-IE8/</link><pubDate>Thu, 28 Jul 2011 03:04:19 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Does it mean your issue is solved when you are using XHTML DocType?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>Heading Alignment issue in IE8</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Heading-Alignment-issue-in-IE8/</link><pubDate>Wed, 27 Jul 2011 06:19:26 GMT</pubDate><dc:creator>karlp@agrecon.com</dc:creator><description>&lt;p&gt;I've also had similar problems and have given up on XHTML doctype for IE versions prior to 8. I think mainly when I have colum autosizing on or if using the grid refresh funciton things don;t line-up or fit properly.&lt;/p&gt;&lt;p&gt; If I detect browser is IE and version 7 or less I change doctype to &lt;/p&gt;
&lt;p&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" &amp;gt;&lt;/p&gt;
&lt;p&gt;then it renders ok in IE 5.5, 6 or 7.&lt;/p&gt;
&lt;p&gt;It's not ideal as this will cause rendering differences if you use float and css auto margins in places. &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;my pages all inherit this class:&lt;/p&gt;
&lt;p /&gt;
&lt;p&gt;Public Class TemplatePage&lt;/p&gt;
&lt;p&gt;    Inherits System.Web.UI.Page&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;    Sub Page_PreInit(ByVal sender As Object, ByVal e As EventArgs) _&lt;/p&gt;
&lt;p&gt;       Handles Me.PreInit&lt;/p&gt;
&lt;p&gt;        If Request.Browser.Browser = "IE" Then&lt;/p&gt;
&lt;p&gt;            If Convert.ToDecimal(Request.Browser.Version) &amp;lt; 8.0 Then&lt;/p&gt;
&lt;p&gt;                Me.MasterPageFile = "~/Site_html4.0.master"&lt;/p&gt;
&lt;p&gt;            End If&lt;/p&gt;
&lt;p&gt;        End If&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;    End Sub&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;End Class&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>Heading Alignment issue in IE8</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Heading-Alignment-issue-in-IE8/</link><pubDate>Mon, 18 Jul 2011 09:12:07 GMT</pubDate><dc:creator>jamesmh2000</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. I will work around the problem.&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;</description></item><item><title>Heading Alignment issue in IE8</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Heading-Alignment-issue-in-IE8/</link><pubDate>Mon, 11 Jul 2011 18:46:23 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello James,&lt;/p&gt;
&lt;p&gt;I just got the update from the developer team.&lt;/p&gt;
&lt;p&gt;Currently our products including WebGrid is not designed for compatibility view because it’s IE specific stuff. Our tools basically render the pages based on the specified document type. However, the compatibility mode causes the rendering to use old browser mode while our library still consider it as XHTML.&lt;/p&gt;
&lt;p&gt;Therefore, they highly suggest the users to use pure standards mode and leave the compatibility view for best results.&lt;/p&gt;
&lt;p&gt;Hope this helps. Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Heading Alignment issue in IE8</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Heading-Alignment-issue-in-IE8/</link><pubDate>Tue, 05 Jul 2011 03:35:50 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello James,&lt;/p&gt;
&lt;p&gt;Your issue has been submitted to the developert team.&lt;/p&gt;
&lt;p&gt;Hopefully, they can come up with a solution as soon as possible.&lt;/p&gt;
&lt;p&gt;Thank you for your patient.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>Heading Alignment issue in IE8</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Heading-Alignment-issue-in-IE8/</link><pubDate>Mon, 04 Jul 2011 07:26:13 GMT</pubDate><dc:creator>jamesmh2000</dc:creator><description>&lt;p&gt;Martin wrote: &lt;/p&gt;
&lt;p&gt;"So the point is, WebGrid needs to be able to run under IE8 Compatibility view per your requirement. Is this correct?"&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Yes, that's correct. Thanks for your help.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;</description></item><item><title>Heading Alignment issue in IE8</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Heading-Alignment-issue-in-IE8/</link><pubDate>Fri, 01 Jul 2011 04:41:14 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello James,&lt;/p&gt;
&lt;p&gt;I have tested your project here. The grid's heading was misaligned too on my end.&lt;/p&gt;
&lt;p&gt;So the point is, WebGrid needs to be able to run under IE8 Compatibility view per your requirement. Is this correct?&lt;/p&gt;
&lt;p&gt;Therefore, I will need to discuss further about this issue with the developer team.&lt;/p&gt;
&lt;p&gt;I will let you know the progress as soon as possible.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>Heading Alignment issue in IE8</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Heading-Alignment-issue-in-IE8/</link><pubDate>Thu, 30 Jun 2011 09:55:42 GMT</pubDate><dc:creator>jamesmh2000</dc:creator><description>&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: times new roman"&gt;Hi Martin,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: times new roman"&gt;Thanks for your reply. I have run your sample file and am still getting the same issue. I’ve zipped up and attached the sample project I was testing with along with some screen shots.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: times new roman"&gt;I don’t have any special CSS debugging tools for IE, only straight VS 2008, although I have some JavaScript that gives me browser info (click “Browser Info” button in sample app or see screen shots).
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: times new roman"&gt;I will try to explain more clearly what the problem is:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;ol type="1" style="margin-top: 0in"&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: times new roman"&gt;My app is designed for our intranet, where IE8 is running in compatibility view on all users’ PCs (browser setting is determined by group policy). See screen shot IE8_compatibility_view_settings.png. &lt;strong&gt;Please assume that this setting cannot be changed, as we have many older web apps that require this setting&lt;/strong&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: times new roman"&gt;Until recently I was coding to IE8 CSS standards as I was developing on my own PC, and “localhost” never uses compatibility view unless you explicitly set it. When I discovered this I explicitly included localhost in my IE8 compatibility settings (see screen shot IE8_compatibility_view_settings.png).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-family: times new roman; font-size: 15px"&gt;In order to continue to code to IE8 standards, I added the meta tag &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new'; color: blue; font-size: 10pt; mso-ansi-language: en-us; mso-no-proof: yes"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-family: 'courier new'; color: #a31515; font-size: 10pt; mso-ansi-language: en-us; mso-no-proof: yes"&gt;meta&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-size: 10pt; mso-ansi-language: en-us; mso-no-proof: yes"&gt; &lt;span style="color: red"&gt;http-equiv&lt;/span&gt;&lt;span style="color: blue"&gt;="X-UA-Compatible"&lt;/span&gt; &lt;span style="color: red"&gt;content&lt;/span&gt;&lt;span style="color: blue"&gt;="IE=8"&lt;/span&gt; &lt;span style="color: blue"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: times new roman"&gt; to my web page. This works great, except for the heading alignment issue in the WebGrid.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: times new roman"&gt;To try to get around the grid issue I took out the meta tag and tried coding to IE7 standards. This fixes the grid, but introduces new problems. These are mostly minor except for the WebCombo, which stays put within a scrolling DIV (see sample app, WebComboInScrollingDiv.aspx example page.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: times new roman"&gt;I have WebGrids and WebCombos on the same web page in my "real" app, so cannot have the meta tag for one and not the other.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: times new roman"&gt;To summarize, if I have the meta tag in place, the WebGrid does not work but the WebCombo does work; if I take out the meta tag the WebGrid works but the WebCombo does not work.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: times new roman"&gt;I would prefer a solution that fixes the WebGrid in Compatibility Mode/DocMode 8 (see browser info screen shots), but if you can tell me a way to fix the WebCombo in Compatibility Mode/DocMode 7 that would be fine (please see the sample app’s JavaScript code for how “Compatibility Mode” is determined in these pop-ups).
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: times new roman"&gt;Hope this helps!
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: times new roman"&gt;James
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
</description></item><item><title>Heading Alignment issue in IE8</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Heading-Alignment-issue-in-IE8/</link><pubDate>Wed, 29 Jun 2011 22:53:24 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello James,&lt;/p&gt;
&lt;p&gt;I'm attaching my sample including the meta setting and DocType. Please try to run the sample on your end and see how the result is.&lt;/p&gt;
&lt;p&gt;However, could you explain your issue in more details? So, when you run the project using IE8 browser, do you change the Document Mode to IE7 compatibility / change the Browser Mode to IE7 Compatibility? Can you provide a screenshot of your developer tools along with your project?&lt;/p&gt;
&lt;p&gt;I'm running the project and by default, it will open the project using Browser Mode as IE8 and Document Mode to IE8 standards (as you can see in Grid1.png attached).&lt;/p&gt;
&lt;p&gt;Then, I change the Browser Mode to IE7 and Document Mode to IE 7 standards (as you can see in Grid2.png).&lt;/p&gt;
&lt;p&gt;I don't have IE7 compatibility option in my developer tools.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>Heading Alignment issue in IE8</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Heading-Alignment-issue-in-IE8/</link><pubDate>Mon, 27 Jun 2011 08:19:35 GMT</pubDate><dc:creator>jamesmh2000</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm having an issue using WebGrid version 7.0.7200.430 with IE8 when running in IE7 compatibility mode in my company's intranet environment. The headings don't align with the data.&lt;/p&gt;
&lt;p&gt;My company's standard for the intranet is IE8 running in IE7 compatibility mode so, even  though I use the meta tag  &lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;meta&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;http-equiv&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="X-UA-Compatible"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;content&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="IE=8"/&amp;gt;&lt;/span&gt;&lt;/span&gt; in my Site.Master, IE8 continues to run in IE7 compatibility mode.&lt;/p&gt;
&lt;p&gt;Everything works great except the column alignment in the WebGrid. Is there a work-around for this issue? &lt;/p&gt;
&lt;p&gt;Thanks, &lt;/p&gt;
&lt;p&gt;James Hartley&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>