title: WebPart RenderControl doesn't render contents
body: <p>I have a custom web part that I am trying to call the RenderContents method on, but the results only contains the surrounding div for the web part, and not any child controls.</p>
  
  <p>Take for example this simple web part:</p>
  
  <pre><code>namespace MyWebParts
  {
    public class MyTestWebPart : WebPart
    {
      public MyTestWebPart()
      {
        this.CssClass = "myTestWebPart";
      }
      protected override void CreateChildControls()
      {
        base.CreateChildControls();
  
        this.Controls.Add(new LiteralControl("Nothing here yet."));
      }
    }
  }
  </code></pre>
  
  <p>Then, in an http handler, I'm trying to instantiate this web part and call its RenderControl method. The result is <code>&lt;div class="myTestWebPart"&gt;&lt;/div&gt;</code>.</p>
  
  <p>Does anyone know why I am not getting my controls from CreateChildControls also added to the output?</p>