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

Tabstrip With Two Grids, Current Grid Not Staying Selected

2 Answers 36 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 08 Jun 2015, 07:04 PM
I have a tab strip with two grids that both have paging and sorting enabled.  If I sort or page the grid in the second tab strip, the first tab strip ends up getting selected.  If I go back to the second tab strip the grid is refreshed properly (i.e. it was sorted or paged correctly).  How can I keep the second tab strip selected when I page or sort the grid in the second tab strip?

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 10 Jun 2015, 03:12 PM
Hi John,

I suppose that you are talking about a scenario with one TabStrip with two tabs. The described problem is possible to occur if you use server-side binding for the Grids. In this case, either switch to client-side (Ajax) binding, or select the second tab manually from the server-side view code, or with Javascript after the page loads.

Regards,
Dimo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
John
Top achievements
Rank 1
answered on 17 Jun 2015, 02:09 PM
Yes, one TabStrip with two tabs.  Switching to Ajax binding did the trick. Thanks!
Tags
TabStrip
Asked by
John
Top achievements
Rank 1
Answers by
Dimo
Telerik team
John
Top achievements
Rank 1
Share this question
or