title: How do I get the HTML output of a UserControl in .NET (C#)?
body: <p>If I create a UserControl and add some objects to it, how can I grab the HTML it would render?</p>
  
  <p>ex.</p>
  
  <pre><code>UserControl myControl = new UserControl();
  myControl.Controls.Add(new TextBox());
  
  // ...something happens
  
  return strHTMLofControl;
  </code></pre>
  
  <p>I'd like to just convert a newly built UserControl to a string of HTML.</p>