Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>dhiraj - There does not seem to be any official statement about this IE9 bug from MS but I have experienced it on more than one occasion. It seems to be related to the whitespace between table rows and cells in the source code and only happens on tables that are rendered in UpdatePanels after an ajax postback. I have found an (ugly) fix for the problem.</p> <p>If you use a ListView control, you will have the ability to remove the whitespace in your table structure. Unfortunately it makes your source code more unreadable, but it does seem to fix the problem. So, for example, if your original code looked like this:</p> <pre><code>&lt;asp:ListView ID="ListView1" runat="server"&gt; &lt;LayoutTemplate&gt; &lt;table&gt; &lt;asp:PlaceHolder ID="itemPlaceholder" runat="server"&gt;&lt;/asp:PlaceHolder&gt; &lt;/table&gt; &lt;/LayoutTemplate&gt; &lt;ItemTemplate&gt; &lt;tr&gt; &lt;td&gt;&lt;%# Eval("field1") %&gt;&lt;/td&gt; &lt;td&gt;&lt;%# Eval("field2") %&gt;&lt;/td&gt; &lt;td&gt;&lt;%# Eval("field3") %&gt;&lt;/td&gt; &lt;td&gt;&lt;%# Eval("field4") %&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/ItemTemplate&gt; </code></pre> <p></p> <p>Your "fixed" code would need to look like this:</p> <pre><code>&lt;asp:ListView ID="ListView1" runat="server"&gt; &lt;LayoutTemplate&gt; &lt;table&gt;&lt;asp:PlaceHolder ID="itemPlaceholder" runat="server"&gt;&lt;/asp:PlaceHolder&gt;&lt;/table&gt; &lt;/LayoutTemplate&gt; &lt;ItemTemplate&gt; &lt;tr&gt;&lt;td&gt;&lt;%# Eval("field1") %&gt;&lt;/td&gt;&lt;td&gt;&lt;%# Eval("field2") %&gt;&lt;/td&gt;&lt;td&gt;&lt;%# Eval("field3") %&gt;&lt;/td&gt;&lt;td&gt;&lt;%# Eval("field4") %&gt;&lt;/td&gt;&lt;/tr&gt; &lt;/ItemTemplate&gt; </code></pre> <p></p> <p>Hope this helps!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload