Tabstrip With Two Grids, Current Grid Not Staying Selected

3 posts, 1 answers
  1. John
    John avatar
    18 posts
    Member since:
    Apr 2015

    Posted 08 Jun 2015 Link to this post

    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. Answer
    Dimo
    Admin
    Dimo avatar
    8332 posts

    Posted 10 Jun 2015 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. John
    John avatar
    18 posts
    Member since:
    Apr 2015

    Posted 17 Jun 2015 in reply to Dimo Link to this post

    Yes, one TabStrip with two tabs.  Switching to Ajax binding did the trick. Thanks!
Back to Top