This is a migrated thread and some comments may be shown as answers.

TabStrip and Grid

2 Answers 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 14 Jul 2015, 11:08 PM

I have Grid in a partialview which is also in a partialview that is rendered by a TabStrip, when I click on the tab the grid doesnt not read

 

so grid in partialview1 which is in NewAccountPermissions which is being called by:

 

  @(Html.Kendo().TabStrip()
  .Name("tabstrip")
  .Items(tabstrip =>
  {
      tabstrip.Add().Text("Add Client Permissions").Selected(true)
          .LoadContentFrom("NewAccountPermissions", "Administration");
      //tabstrip.Add().Text("Edut Client Administration")
      //    .LoadContentFrom("Index", "Tab2");
  })
    )

2 Answers, 1 is accepted

Sort by
0
Jim
Top achievements
Rank 1
answered on 14 Jul 2015, 11:15 PM

This approach loads it correctly, but then again this will load all the tabs which I dont want to do:

 

  @(Html.Kendo().TabStrip()
        .Name("DataSharing")
        .Items(tabs=>
              {
                  tabs.Add().Text("Add Client")
                      .Selected(true)
                      .Content(Html.Partial("_NewAccountPermissions", new LiteraSite.Models.DataSharingModel()).ToHtmlString());
                  
              })
        )​

0
Dimiter Madjarov
Telerik team
answered on 16 Jul 2015, 02:29 PM

Hello Jim,

We were not able to reproduce the behavior on our end. Are there any JavaScript errors in the browsers console? You could find a sample approach by my colleague Alexander in the following forum post. If the problem is still reproducing, please send us small isolated runnable example or open a support ticket about the case, so we could review it

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Jim
Top achievements
Rank 1
Answers by
Jim
Top achievements
Rank 1
Dimiter Madjarov
Telerik team
Share this question
or