title: HTML.LabelFor doesn't render properly
body: <p>I am trying to use Html.LabelFor like this but it doesn't render properly i.e instead of showing ProviderName value like "AT&amp;T" its just displaying <code>ProviderName</code> text and not the value of <code>ProviderName</code>.</p>
  
  <pre><code>&lt;div id="ServiceProvider" class="main_filter" name="filterDiv"&gt;
      &lt;h4&gt;Service Providers&lt;/h4&gt;
      @for (var i = 0; i &lt; allProviders.Count(); i++)
      {
          &lt;div class="filter_chkbox_div"&gt;
              @Html.CheckBoxFor(m =&gt; allProviders[i].Selected, new { value = allProviders[i].ProviderCode, id = allProviders[i].ProviderCode, style="display:none" })
              @Html.LabelFor(m =&gt; allProviders[i].ProviderName)
          &lt;/div&gt;
      }
  </code></pre>
  
  <p>Whereas when I use Html.DisplayFor like this:</p>
  
  <pre><code>&lt;label&gt;@Html.DisplayFor(m =&gt; allProviders[i].ProviderName)&lt;/label&gt;
  </code></pre>
  
  <p>it displays the value of ProviderName. Whats wrong with my code? I want to use Html.LabelFor. Please help</p>