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

Tabstrip stops working when Grid added

3 Answers 98 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 14 Dec 2015, 08:35 PM

I have an edit cshtml page in an MVC app with a Kendo tabpanel on it.

The tabpanel works, as does data retrieval and updates.

My problem is that when I add a Kendo grid control, the tab panel stops working, and by "stops working", I mean that it no longer changes tabs. Regardless of what you click, it stays on the first tab.

It makes no difference if the grid is editable or not. Also makes no difference if the grid is inside or outside the tabpanel.

Any ideas? Thanks.

3 Answers, 1 is accepted

Sort by
0
Greg
Top achievements
Rank 1
answered on 14 Dec 2015, 08:47 PM

Another clue: When I place the grid control at the bottom of the body, the tabpanel works.

Unfortunately, I need to put the grid inside one of the tabpanels.

0
Milena
Telerik team
answered on 15 Dec 2015, 08:40 AM
Hello Greg,

The most probable reason for this behavior is that some javascript error appears when changing the tabs. Can you verify the browser`s console for an error? If there is an error you can try to resolve it and then test the same scenario again.

You can see an example of integration of grid and tabstrip on this demo.

Regards,
Milena
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Greg
Top achievements
Rank 1
answered on 15 Dec 2015, 02:30 PM

Thanks. That led right to the problem. I was missing:

 <script src="~/js/kendo.aspnetmvc.min.js"></script>

Tags
TabStrip
Asked by
Greg
Top achievements
Rank 1
Answers by
Greg
Top achievements
Rank 1
Milena
Telerik team
Share this question
or