title: Trying to push contents into IFRAME from VB.NET code behind (no success)
body: <p>In my HTML document I have an iframe within an iframe. The outside iframe loads an ASPX page with code behind in VB.NET that produces a result from a DB query. For some reasons that are beside the point I need to push the result produced within the inner iframe (whith id=&quot;iresults&quot;):</p>
  <pre><code>&lt;iframe id=&quot;iresults&quot; runat=&quot;server&quot; /&gt;
  </code></pre>
  <p>In my VB.NET code behind I tried ('output' is the string variable containing HTML code):</p>
  <pre><code>iresults.innerHTML = output
  iresults.innerText = output
  iresults.Attributes(&quot;innerHTML&quot;) = output
  iresults.Attributes(&quot;innerText&quot;) = output
  iresults.Attributes(&quot;srcdoc&quot;) = output
  </code></pre>
  <p>However no one of these attempts worked (nothing changed into the &quot;iresults&quot; iframe). Any idea?</p>
  <p><em>PS: The 'output' variable contains data!</em></p>