title: Html.LabelFor and Html.TextBoxFor generate empty html code
body: <p>I'm writing my first ASP.NET MVC application and there is one big problem for me. I want to make a control which will represent a form, but when I try to generate labels and textboxes it returns to me empty page.</p>
  
  <p>So, this is my <strong>model</strong> file (MyModel.cs):</p>
  
  <pre><code>namespace MyNamespace.Models
  {
    public class MyModel
    {
      [Required(ErrorMessage = "You have to fill this field")]
      [DisplayName("Input name")]
      public string Name{ get; set; }
    }
  }
  </code></pre>
  
  <p>This is MyFormControlView.ascx file with my control:</p>
  
  <pre><code>&lt;%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl&lt;MyNamespace.Models.MyModel&gt;"%&gt;
  &lt;div&gt;
      &lt;%
          using (Html.BeginForm())
          {
              Html.LabelFor(m =&gt; m.Name);
              Html.TextBoxFor(m =&gt; m.Name);
              Html.ValidationMessageFor(m =&gt; m.Name);
          }
      %&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And this is my Index.aspx file where I render the control:</p>
  
  <pre><code>&lt;%@ Page Language="C#" MasterPageFile="~/Views/Shared/Main.Master" Inherits="System.Web.Mvc.ViewPage&lt;System.Collections.IEnumerable&gt;" %&gt;
  
  &lt;asp:Content runat="server" ID="MainContent" ContentPlaceHolderID="MainContent"&gt;
  This is my control test!
  &lt;%Html.RenderPartial("MyFormControlView", new MyNamespace.Models.MyModel { Name = "MyTestName"}); %&gt;
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>So, when I run my application the result is lonely caption: "This is my control test!" and there are no label or textbox on the generated page.
  If I inspect the source code of the generated page I can see my <code>&lt;div&gt;</code> block, but it's inner text is empty.</p>