title: Kendo TabStrip:how to pass a partial view with different Model to Tbstrip mvc3
body: <pre><code>i created a kendo Tabstrip in a kendo  popup window as it's shown here: 
  
     @model NeoPaie.ViewModels.GrilleSalaireVM
  @using Kendo.Mvc.UI;
  @using NeoPaie.ViewModels;
  
  &lt;div class="popupError"&gt;&lt;/div&gt;
  
  @(Html.Kendo().TabStrip()
   .HtmlAttributes(new { style = "width:430px;height:400px" })
  .Name("tabstrip")
  .SelectedIndex(0)
  .Items(items =&gt;
      {
          items.Add()
              .Text("Grille De Salaire")
              .Content(@Html.Partial("Gestion De La Grille").ToHtmlString());
          items.Add()
              .Text("Fiche Administartive")
          **.LoadContentFrom("Liste", "GrilleRubriqueFixe");**
      })    
  )
  </code></pre>
  
  <p>in the seceond tab i want to display a <strong>GrilleRubriqueFixe****list</strong> : a kendo grid with its crud methode:but this Exception occured:<code>The model item passed into the dictionary is of type 'System.String', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable</code>1[NeoPaie.ViewModels.GrilleSalaireVM]'`
  isn't possible to use another Model in the second tab?? how can i fixe this??</p>
  
  <pre><code>`
  </code></pre>
  
  <p>there is my <strong>GrilleRubriqueFixe List</strong>:`</p>
  
  <pre><code>@model  IEnumerable&lt;NeoPaie.ViewModels.GrilleRubriqueFixeVM&gt;
  @using Kendo.Mvc.UI;
  
  @{
      ViewBag.Title = "Rubrique Fixes";
  
  }
  
  @section  headerView {
      &lt;script src="@Url.Content("~/Scripts/jquery.validate.min.js")"&gt;&lt;/script&gt;
      &lt;link href="@Url.Content("~/Content/Edit.css")" rel="stylesheet" /&gt;
  &lt;script type="text/javascript" src="~/Scripts/Common/Edit.js"&gt;&lt;/script&gt;
  
  }
  
  &lt;h2&gt;Rubrique Fixes&lt;/h2&gt;
  
  
  @(Html.Kendo().Grid(Model)
      .Name("Grid")
      .HtmlAttributes(new { style = "width:500px;height:300px" })
      .Editable(editing =&gt;
  
  {
              editing.Mode(GridEditMode.InCell).TemplateName("PopupEditors/PopupGrilleRubriqueFixe")
              .Window(w =&gt; w.Title("NeoPaie : Ajouter/Modifier une RubriqueFixe").Width(400).Height(350));
  
              editing.DisplayDeleteConfirmation("Êtes-vous sûr de vouloir supprimer RubriqueFixe?");
          })
      .ToolBar(commands =&gt;
      {
          commands.Create().Text("Ajouter").HtmlAttributes(new { style = "width:100px;float:right" });
  
      })
       .DataSource(dataSource =&gt; dataSource
              .Ajax()
              .Read("Read", "GrilleRubriqueFixe")
              .Create("Save","GrilleRubriqueFixe")
              .Update("Save", "GrilleRubriqueFixe")
              .Destroy("Delete", "GrilleRubriqueFixe")
             .Model(model =&gt; model.Id(p =&gt; p.Grille_Rubrique_FixeId))
  
             .Events(e =&gt; e.RequestEnd("OnKendoGridSaveEnd").Error("OnKendoGridPopupListSaveError"))
               )
               .Columns(columns =&gt;
      {
          columns.Bound(p =&gt; p.Grille_Rubrique_FixeId).Groupable(false).Hidden();
          columns.Bound(p =&gt; p.CODE).Width(50).Title("Rubrique");
          columns.Bound(p =&gt; p.VALEUR).Width(100).Title("Valeur");
  
          columns.Bound(p =&gt; p.LIBELLE).Width(300).Hidden();
          columns.Bound(p =&gt; p.RubriqueId).Width(100).Hidden();
          columns.Bound(p =&gt; p.GrilleId).Width(100).Hidden();
  
          columns.Command(command =&gt; command.Destroy().Text(" ")).Width(60).Title("Supprimer").HtmlAttributes(new { style = "text-align:center" });
          columns.Command(command =&gt; command.Edit().Text(" ")).Width(60).Title("Modifier").HtmlAttributes(new { style = "text-align:center" });
  
      })
  
      .Scrollable()
              .Selectable(selectable =&gt; selectable
                  .Mode(GridSelectionMode.Single)
                  .Type(GridSelectionType.Row))
  
      .Navigatable()
  
      )
     and my GrilleRubriqueFixe Controller:
  </code></pre>
  
  <p>public ActionResult Liste( )
    {
      try
        {</p>
  
  <pre><code>    List&lt;GrilleRubriqueFixeVM&gt; lstVM = ServiceApplicatif.GetListe().OrderBy(x =&gt; x.RubriqueId).ToList();
  
      //  Drop Down List des listRubrique
  
       IEnumerable&lt;RubriqueVM&gt; listRubrique = RefDataManager.GetRefData&lt;RubriqueVM&gt;() as IEnumerable&lt;RubriqueVM&gt;;
  
       ViewData["CodeRubrique"] = new SelectList(listRubrique, "RubriqueId", "CODELIBELLE");
  
       return PartialView(lstVM);
      }
     catch (Exception ex)
     {
          LoggerGrilleRubriqueFixe.Error(string.Format("Exception : {0}", ex.Message.ToString()));
          throw new Exception("Erreur lors du chargement.");
     }
  }
  
  [HttpPost]
  public JsonResult Read([DataSourceRequest] DataSourceRequest dsRequest)
  </code></pre>
  
  <p>{
        try
        {
            //  Drop Down List des listRubrique</p>
  
  <pre><code>      IEnumerable&lt;RubriqueVM&gt; listRubrique = RefDataManager.GetRefData&lt;RubriqueVM&gt;() as IEnumerable&lt;RubriqueVM&gt;;
        if (listRubrique.Any())
        {
            ViewBag.idrub = listRubrique.First().RubriqueId;
        }
  
        ViewData["Rubrique"] = new SelectList(listRubrique, "RubriqueId", "CODELIBELLE");
        List&lt;GrilleRubriqueFixeVM&gt; lstVM = ServiceApplicatif.GetListe().OrderBy(x =&gt; x.GrilleId).ToList();
  
        return Json(lstVM.ToDataSourceResult(dsRequest));
    }
    catch (Exception ex)
    {
        LoggerGrilleRubriqueFixe.Error(string.Format("Exception : {0}", ex.Message.ToString()));
        throw new Exception("Erreur lors du chargement.");
    }
  </code></pre>
  
  <p>}
      `</p>