title: Telerik Tabstrip (Tabs on demand ) is not working properly
body: <p>My Partial View contains this code: </p>
  
  <pre><code>   @( Html.Telerik().TabStrip()
          .Name("MeasurementScheme")
          .Items(tab =&gt;
          {
              tab.Add()
                  .Text("Weight Measure")
                  .LoadContentFrom("IndexWeight", "MeasurementScheme")
                  .Selected(true);
  
  
  
  
              tab.Add()
                  .Text("Dimension Measure")
                  .LoadContentFrom("IndexDimension", "MeasurementScheme");
  
  
  
  
          })
          )
  </code></pre>
  
  <p>But when i run my code it only displayed the partial view of first tab and when clicked on second tab it doesn't call the second one.</p>
  
  <p>and one more think when i change the .selected property of second tab to true rather than first than second tab works fine and first doesn't call its view?</p>
  
  <p>Ok kk This is my controller</p>
  
  <pre><code>  using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.Mvc;
    using CommerceSuite.Services;
    using CommerceSuite.Web.Models;
    using CommerceSuite.Data;
    using System.Web.Mvc.Html;
    using CommerceSuite.Web.Infrastructure;
    using CommerceSuite.Web.Models.MeasurementScheme;
    using Telerik.Web.Mvc;
    using System.Threading;
    namespace CommerceSuite.Web.Controllers
    {
        public class MeasurementSchemeController : BaseCsController
  {
      private readonly IMeasurementSchemeService _measurementSchemeService;
      public MeasurementSchemeController(IMeasurementSchemeService measurementSchemeService)
      {
          this._measurementSchemeService = measurementSchemeService;
      }
  
      public ActionResult Index()
      {
          return PartialView("_Index");
      }
  
      // Default Partial View Page of Measure Dimension
      public ActionResult IndexDimension()
      {
          return PartialView("_IndexDimension");
      }
  
      // return Json List of All MeasureDimension - Method is Invoked in Index Partival View 
      [GridAction]
      public ActionResult MeasureDimensionView()
      {
          var dimensionCollection= _measurementSchemeService.GetAllMeasurementDimension().Select(x=&gt;
              new MeasureDimensionModel()
          {
             MeasureDimensionId=x.MeasureDimensionId,
             Name=x.Name,
             Symbol = x.Symbol,
             Ratio=x.Ratio.Value,
             IsActive=x.IsActive
          });
          return Json(dimensionCollection, JsonRequestBehavior.AllowGet);
      }
  
      public ActionResult IndexWeight()
      {
          return PartialView("_IndexWeight");
      }
  
      // return Json List of All MeasureDimension - Method is Invoked in Index Partival View 
      [GridAction]
      public ActionResult MeasureWeightView()
      {
          var weightCollection = _measurementSchemeService.GetAllMeasurementWeight().Select(x =&gt;
             new MeasureWeightModel()
             {
                 MeasureWeightId = x.MeasureWeightId,
                 Name = x.Name,
                 Symbol = x.Symbol,
                 Ratio = x.Ratio.Value,
                 IsActive = x.IsActive
             });
          return Json(weightCollection, JsonRequestBehavior.AllowGet);
      }
  </code></pre>
  
  <p>and this is my partial view _Index.cshtml</p>
  
  <pre><code>        @model CommerceSuite.Web.Models.MeasurementScheme.MeasureWeightModel
  
         @{
          ViewBag.Title = "Measurement Information";
           Layout = "~/Views/Shared/_LayoutPartial.cshtml";
  
          }
  
        @Html.Partial("~/Views/Shared/_Notifications.cshtml")
  
      &lt;div style="margin-top: 10px; background-color:rgba(18, 149, 223, 0.35); color:#000000; text-align:center; border-bottom-style:dotted; border-top-style:dotted; border-top-width:1px; border-top-color:#aaa; border-bottom-width:1px; border-bottom-color:#aaa;"&gt;
   &lt;h1 style="font-size: 17px; line-height:24px; font-weight:normal;"&gt;Measurement Schemes&lt;/h1&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>   @section LeftOption{
  &lt;a href="#"&gt;&lt;img src="@Url.Content("~/Content/themes/myicons/home.png")" width="28px;" title="Home" alt="Home" /&gt;&lt;/a&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;
  &lt;a href="#"&gt;&lt;img src="@Url.Content("~/Content/themes/myicons/back.png")" width="28px;" title="Back" alt="Back" /&gt;&lt;/a&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;
  &lt;a href="#"&gt;&lt;img src="@Url.Content("~/Content/themes/myicons/forward.png")" width="28px;" title="Forward" alt="Forward" /&gt;&lt;/a&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;
  &lt;a href="#"&gt;&lt;img src="@Url.Content("~/Content/themes/myicons/refresh.png")" width="28px;" title="Refresh List" alt="Refresh" /&gt;&lt;/a&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;
  &lt;a href="#"&gt;&lt;img src="@Url.Content("~/Content/themes/myicons/search.png")" width="28px;" title="Search" alt="Search" /&gt;&lt;/a&gt;
   }
   @section RightOption{
  &lt;a href="#" Onclick="csPopupOpen('Add Measurement Scheme','@Url.Action("Create")')"&gt;&lt;img src="@Url.Content("~/Content/themes/myicons/add.png")" width="28px;" title="Add New" alt="Add" /&gt;&lt;/a&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;
  &lt;a href="#" Onclick="csPopupOpen('Delete Measurement Scheme','@Url.Action("#")')"&gt;&lt;img src="@Url.Content("~/Content/themes/myicons/delete.png")" width="28px;" title="Delete" alt="Delete" /&gt;&lt;/a&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;
  &lt;a href="#" Onclick="csPopupOpen('Print Measurement Schemes','@Url.Action("#")')"&gt;&lt;img src="@Url.Content("~/Content/themes/myicons/print.png")" width="28px;" title="Print List" alt="Print" /&gt;&lt;/a&gt;
  </code></pre>
  
  <p>}</p>
  
  <p><br/></p>
  
  <pre><code>     @( Html.Telerik().TabStrip()
          .Name("TabStrip")
          .Items(tab =&gt;
          {
  
               tab.Add()
                  .Text("Dimension Measure")
                  .LoadContentFrom("IndexDimension", "MeasurementScheme")
                  .Selected(true);
  
  
              tab.Add()
                 .Text("Weight Measure")
                 .LoadContentFrom("IndexWeight", "MeasureWeight");
  
  
          })
  
          )
  </code></pre>
  
  <p>and this is a partia view of measureweight _IndexDimension</p>
  
  <pre><code>  @model CommerceSuite.Web.Models.MeasurementScheme.MeasureDimensionModel
  
        @(Html.Telerik().Grid&lt;CommerceSuite.Web.Models.MeasurementScheme.MeasureDimensionModel&gt;()
                     .Name("MeasurementScheme")          
             .DataBinding(databinding =&gt; {
                 databinding.Ajax().Select("MeasureDimensionView", "MeasurementScheme");
             })
             .Columns(columns =&gt;
                 {
                    columns.Bound(p=&gt;p.MeasureDimensionId)
                    .ClientTemplate("&lt;input type='checkbox' name='checkedRecords' value='&lt;#= MeasureDimensionId #&gt;' /&gt;")
                    .HeaderTemplate(
                      @&lt;text&gt;
                          &lt;input type="checkbox" title="Select/Unselect All Records" id="checkAllRecords" /&gt;
                                 &lt;/text&gt;
                  )
                    .Title("")
                    .Width(40)
                    .HtmlAttributes(new { style = "text-align:center" });
                     columns.Bound(p =&gt; p.Name).Width(300); 
                     columns.Bound(p =&gt; p.Symbol).Width(100);
                     columns.Bound(p =&gt; p.Ratio).Width(100);
                     columns.Bound(p =&gt; p.IsActive).Width(75);
                     columns.Bound(p =&gt; p.IsActive).Title("Update").Sortable(false).Filterable(false).Width(50)
                     .ClientTemplate("&lt;img src='../../Content/themes/myicons/edit.png' title='Edit' width='20' onclick='csPopupOpen(\"HELLO\",\"" + @Url.Action("EditDimension") + "\",&lt;#=MeasureDimensionId #&gt;,\"" + @Url.Action("IndexDimension") + "\")' value='Edit' &gt; &lt;img src='../../Content/themes/myicons/del.ico' width='20' title='delete' name='&lt;#=MeasureDimensionId #&gt;' onclick='csPopupOpen(\"HELLO\",\"" + @Url.Action("Delete") + "\",&lt;#=MeasureDimensionId #&gt;)' value='Delete' &gt; ").Width(50);
                  })
             .Pageable()
             .Scrollable()
             .Sortable()
             .Groupable()
       )
  </code></pre>
  
  <p>and this is a partial view of MeasureDimension   _IndexDimension.cshtml</p>
  
  <pre><code>  @model CommerceSuite.Web.Models.MeasurementScheme.MeasureDimensionModel
  
  @(Html.Telerik().Grid&lt;CommerceSuite.Web.Models.MeasurementScheme.MeasureDimensionModel&gt;()
                     .Name("MeasurementScheme")          
             .DataBinding(databinding =&gt; {
                 databinding.Ajax().Select("MeasureDimensionView", "MeasurementScheme");
             })
             .Columns(columns =&gt;
                 {
                    columns.Bound(p=&gt;p.MeasureDimensionId)
                    .ClientTemplate("&lt;input type='checkbox' name='checkedRecords' value='&lt;#= MeasureDimensionId #&gt;' /&gt;")
                    .HeaderTemplate(
                      @&lt;text&gt;
                          &lt;input type="checkbox" title="Select/Unselect All Records" id="checkAllRecords" /&gt;
                                 &lt;/text&gt;
                  )
                    .Title("")
                    .Width(40)
                    .HtmlAttributes(new { style = "text-align:center" });
                     columns.Bound(p =&gt; p.Name).Width(300); 
                     columns.Bound(p =&gt; p.Symbol).Width(100);
                     columns.Bound(p =&gt; p.Ratio).Width(100);
                     columns.Bound(p =&gt; p.IsActive).Width(75);
                     columns.Bound(p =&gt; p.IsActive).Title("Update").Sortable(false).Filterable(false).Width(50)
                     .ClientTemplate("&lt;img src='../../Content/themes/myicons/edit.png' title='Edit' width='20' onclick='csPopupOpen(\"HELLO\",\"" + @Url.Action("EditDimension") + "\",&lt;#=MeasureDimensionId #&gt;,\"" + @Url.Action("IndexDimension") + "\")' value='Edit' &gt; &lt;img src='../../Content/themes/myicons/del.ico' width='20' title='delete' name='&lt;#=MeasureDimensionId #&gt;' onclick='csPopupOpen(\"HELLO\",\"" + @Url.Action("Delete") + "\",&lt;#=MeasureDimensionId #&gt;)' value='Delete' &gt; ").Width(50);
                  })
             .Pageable()
             .Scrollable()
             .Sortable()
             .Groupable()
       )
  </code></pre>
  
  <p>thats all about it</p>