title: Output a string from code behind to a new page or window
body: <p>Assume a string variable in code behind containing some HTML content such as </p>
  
  <p><code>Dim str1 As String = "&lt;h3&gt;hello&lt;/h3&gt;&lt;p&gt;some paragraph&lt;/p&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;some table content&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;"</code></p>
  
  <p>A saved file could be opened by registering a script such as</p>
  
  <pre><code>Dim script1 As String = "window.open('popupPage.html', 'myPopup')"
  ScriptManager.RegisterStartupScript(Page, Page.GetType(), "someId", script1, true)
  </code></pre>
  
  <p>Is there any way to output this content in a new tab or window from code behind <strong>without saving it to a file?</strong></p>