﻿<?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 - Webgrid 9 Fixed Height IE11</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid9FHIE11/</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>Webgrid 9 Fixed Height IE11</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid9FHIE11/</link><pubDate>Thu, 30 Jul 2015 03:13:06 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid</category><category>ie11</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I worked closely with Patrick Hindall. The reported problem was caused by an update to .NET 4.0 which causing IE11 is not recognized as IE.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The solution was found by Patrick. Thank you, Patrick! :)&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Apparently, there is an update to .NET 4.0 which specifically deals with this issue.  Out of the box, .NET 4.0 does not recognize IE11 as “IE.”  After the following update is applied, it does.&lt;/p&gt;
&lt;p&gt;https://support.microsoft.com/en-us/kb/2836939.&lt;/p&gt;
&lt;p&gt;After applying this update to .NET 4.0 on the hosting server, the page renders correctly under IE11.&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Webgrid 9 Fixed Height IE11</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid9FHIE11/</link><pubDate>Mon, 27 Apr 2015 17:44:25 GMT</pubDate><dc:creator>phindall@fultonhomes.com</dc:creator><category>WebGrid</category><category>ie11</category><description>&lt;p&gt;Seeing that I cannot get a response from Intersoft support, I'll post my issue here.&amp;nbsp; Basically, I have recently upgraded to Webgrid 9 (9.0.7200.1) and WebUI Framework 3.0.5000.&amp;nbsp; I have a number of fixed height Webgrids, which render correctly in the latest versions of Firefox, Chrome, and IE10, but not in IE11.&amp;nbsp; Under IE 11, the HTML of the grid renders as it does for all&amp;nbsp;other browsers, however the client script which runs on page load detects&amp;nbsp;the browser as "IE" and therefore runs client script which fails trying to set the height of dvTB_Webgrid1_, based on the height of the&amp;nbsp;Webgrid1_of div.&amp;nbsp; You can see an example here:&lt;/p&gt;&lt;p&gt;&lt;a href="https://webdev.fultonhomes.com/phindall/selectedoptions2/viewoptions.aspx?proj=ff00t&amp;amp;unit=0052"&gt;https://webdev.fultonhomes.com/phindall/selectedoptions2/viewoptions.aspx?proj=ff00t&amp;amp;unit=0052&lt;/a&gt;&lt;/p&gt;&lt;p&gt;As you can see, I'm running under the HTML5 DOCTYPE and with RederingMode="HTML5".&lt;/p&gt;&lt;p&gt;Here's a little more detail:&lt;/p&gt;&lt;p&gt;&lt;span face="Times New Roman" size="3"&gt;

&lt;/span&gt;&lt;span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'&gt;My investigation reveals the
following is the problem.&amp;nbsp; Under &lt;/span&gt;&lt;span style="color: red; font-family: Consolas; font-size: 9.5pt;"&gt;RenderingMode&lt;/span&gt;&lt;span style="color: blue; font-family: Consolas; font-size: 9.5pt;"&gt;="HTML5" &lt;/span&gt;&lt;span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'&gt;Webgrid
renders a series of nested DIVs, with the highest level one being
Webgrid1_of.&amp;nbsp; On page load, Webgrid runs through a series of client
scripts to set up the grid layout.&amp;nbsp; Among those is a function called
AssignInitialHeight.&amp;nbsp; AssignInitialHeight detects both IE10 and IE11 as
“IE” (IS.ie==true) and sets forth to manually calculate the height of
dvTB_Webgrid1_.&amp;nbsp; Within this function, another function
(WGUIEngine.OnGridResize) is called.&amp;nbsp; Within OnGridResize, the function
WGUIEngine.GetTableBodyHeight(b) is called with b=dvTB_Webgrid1_.&amp;nbsp;
&amp;nbsp;&amp;nbsp;GetTableBodyHeight looks to the style of the parent div of the
Webgrid (Webgrid1_of), to get this height.&amp;nbsp; On IE10, this returns the
height value that was set when instantiating the WebGrid:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face="Times New Roman" size="3"&gt;

&lt;/span&gt;&lt;span style="color: blue; font-family: Consolas; font-size: 9.5pt;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: Consolas; font-size: 9.5pt;"&gt;ISWebGrid&lt;/span&gt;&lt;span style="color: blue; font-family: Consolas; font-size: 9.5pt;"&gt;:&lt;/span&gt;&lt;span style="color: maroon; font-family: Consolas; font-size: 9.5pt;"&gt;WebGrid&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 9.5pt;"&gt; &lt;span style="color: red;"&gt;ID&lt;/span&gt;&lt;span style="color: blue;"&gt;="WebGrid1"&lt;/span&gt; &lt;span style="color: red;"&gt;runat&lt;/span&gt;&lt;span style="color: blue;"&gt;="server"&lt;/span&gt; &lt;span style="color: red;"&gt;width&lt;/span&gt;&lt;span style="color: blue;"&gt;="730"&lt;/span&gt; &lt;span style="color: red;"&gt;Height&lt;/span&gt;&lt;span style="color: blue;"&gt;="470"&lt;/span&gt; &lt;span style="color: red;"&gt;RuntimeLicenseKey&lt;/span&gt;&lt;span style="color: blue;"&gt;="0LAC4-1B0D-OTNB8"&lt;/span&gt; &lt;span style="color: red;"&gt;RenderingMode&lt;/span&gt;&lt;span style="color: blue;"&gt;="HTML5"&lt;/span&gt; &lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face="Times New Roman" size="3"&gt;

&lt;/span&gt;&lt;span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'&gt;However, under IE11 the
function returns NaN.&amp;nbsp; Looking at the rendered HTML reveals why. . .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face="Times New Roman" size="3"&gt;

&lt;/span&gt;&lt;span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'&gt;IE 10: &lt;/span&gt;&lt;span style="color: blue; font-family: Consolas; font-size: 10pt;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); font-family: Consolas; font-size: 10pt;"&gt;div&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt; &lt;span style="color: red;"&gt;id&lt;/span&gt;&lt;span style="color: blue;"&gt;="WebGrid1_of"&lt;/span&gt;
&lt;span style="color: red;"&gt;style&lt;/span&gt;&lt;span style="color: blue;"&gt;="position:relative;
;height: 470px;width: 730px;"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face="Times New Roman" size="3"&gt;

&lt;/span&gt;&lt;span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'&gt;IE 11: &lt;/span&gt;&lt;span style="color: blue; font-family: Consolas; font-size: 10pt;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); font-family: Consolas; font-size: 10pt;"&gt;div&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: 10pt;"&gt; &lt;span style="color: red;"&gt;id&lt;/span&gt;&lt;span style="color: blue;"&gt;="&lt;/span&gt;&lt;span style="background: yellow; color: black; mso-highlight: yellow;"&gt;WebGrid1_of&lt;/span&gt;&lt;span style="color: blue;"&gt;"&lt;/span&gt; &lt;span style="color: red;"&gt;style&lt;/span&gt;&lt;span style="color: blue;"&gt;="position:relative; "&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face="Times New Roman" size="3"&gt;

&lt;/span&gt;&lt;span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'&gt;Interestingly, under Chrome and Firefox, the “Webgrid1_of” div
renders as it does in IE11, but of course the client ssript does not detect
these as “IE.”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face="Times New Roman" size="3"&gt;

&lt;/span&gt;&lt;span style='color: rgb(31, 73, 125); font-family: "Calibri","sans-serif"; font-size: 11pt;'&gt;It appears from the above that this may be a conflict between
the server-side grid rendering and the client script.&amp;nbsp; Under IE11, the
server side renders the grid as it does for all other modern browsers.&amp;nbsp;
However, the client side script detects IE11 as “IE” and therefore runs
IE-specific script, which fails.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face="Times New Roman" size="3"&gt;

&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>