title: Asp.Net web form sometimes has strange mixing of HTML and JavaScript response in Internet Explorer
body: <p>I'm new to developing from scratch a new asp.net web forms application. </p>
  
  <p>The problem: Everything works well on local and test servers. Deploying the application on the customer servers has some strange behavior.</p>
  
  <p>Only with Internet Explorer and only sometimes, the response in the browser is incorrectly rendered. I see HTML repeated, JavaScript rendered directly on the screen, mixed with HTML in the wrong place.</p>
  
  <p>All seems to happen at random.</p>
  
  <p>Edit For Damon: I need 10 reputation to put images, this is how is bad rendered html only sometimes in ie:</p>
  
  <pre><code>    //]]&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>??c?cr??|?04?*?9|u? ?*B?T߮?+mDp??}:?-?؉Ч????H?????:?t??dH$??D" disabled="disabled" class="aspNetDisabled txtSolaLettura" disabled="disabled" style="display:none"&gt;
              &lt;option selected="selected" value=""&gt;&lt;/option&gt;
              &lt;option value="M"&gt;M&lt;/option&gt;
              &lt;option value="F"&gt;F&lt;/option&gt;
  
          &lt;/select&gt;&lt;input name="ctl00$cpHolderBody$GHOSTIndice§STRINGA§SD" type="text" maxlength="1" id="GHOSTIndice§STRINGA§SD" class="txtSolaLettura" readonly="readonly" /&gt;&lt;/td&gt;&lt;td&gt;Cognome Dichiarante&lt;/td&gt;&lt;td class="STRINGA"&gt;&lt;input type="hidden" name="ctl00$cpHolderBody$CTRLIndice§STRINGA§CD" id="CTRLIndice§STRINGA§CD" value="TextBox§Cognome Dichiarante§strtfrmtndfrmt§strtdcml0nddcml" /&gt;&lt;input name="ctl00$cpHolderBody$JSONIndice§STRINGA§CD" type="text" maxlength="30" id="JSONIndice§STRINGA§CD" class="txtSolaLettura" readonly="readonly" /&gt;&lt;/td&gt;
      &lt;/tr&gt;&lt;tr&gt;
          &lt;0
  </code></pre>
  
  <p>TMȺ??OG?[?
  @K??a?6%\?
  J????-????߅
  ???^??y;hK?2cD?>?pK?O?tl00$cpHolderBody$CTRLIndice§STRINGA§ND" id="CTRLIndice§STRINGA§ND" value="TextBox§Nome Dichiarante§strtfrmtndfrmt§strtdcml0nddcml" />Codice Dichiarazione Anagrafica
          </p>
  
  <p>Edit For Paul: wcf is rest, data sent and received is json</p>
  
  <p>Don't know if this is important:</p>
  
  <ul>
  <li>In the application I frequently use ajax-jQuery calls to WCF services </li>
  <li>I (for example after an ajax call to redirect on other page) sometimes manually post the  forms (document.forms[0].submit()). </li>
  <li>I also have lots of jQuery code sometimes inside the page sometimes in external JS file.     </li>
  <li>I also make use of a master page.</li>
  </ul>
  
  <p>I'm thinking it could be involve server or client side caching...or server side buffering...</p>
  
  <p>Any ideas will be appreciated.</p>