title: Telerik MVC - Not Loading Tabstrip Content Dynamically
body: <p>I am trying to load a partial view which has a tabstrip.  I am making a jQuery ajax call to the controller which returns a partial view which contains the tab strip. I believe all the Telerik JS is being loaded properly.</p>
  
  <p>Here are pieces of the partial view:</p>
  
  <pre><code>        &lt;% Html.Telerik().TabStrip()
          .Name("TabStrip")
          .Items(tabstrip =&gt;
          {
              foreach (FooType foo in Model.Section) {
                  tabstrip.Add()
                      .Text(foo.Name.ToString())
                      .Content(() =&gt;
                      {%&gt;
                          &lt;div&gt;&lt;%= foo.bar.ToString() %&gt;&lt;/div&gt;
                      &lt;%});
              }
          })
          .SelectedIndex(0)
          .Render();
           %&gt;
  </code></pre>
  
  <p>The problem is that  has the same content no matter what. Its always the last item from Model.Section. The tab text is is outputted correctly though.</p>
  
  <p>I've tried replacing the foo.bar.ToString with a counter that get incremented at each iteration, but the tabs end up all having the same value, the last counter value.</p>
  
  <p>What am I missing?</p>