Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > RadControls in ASP.NET MVC > Pagination Issue in Rag Grid

Not answered Pagination Issue in Rag Grid

Feed from this thread
  • Dhaval avatar

    Posted on Aug 30, 2011 (permalink)

    Hi All,

    I have created a Rad Grid with Pagination and got a <Select All> button to select all items on current page.

    Now, everything works fine, except that when I navigate from 1 page to another then I want to get all selected items count of new page, but what I am getting is selected item of old page.
    Eg: I have selected 5 items of Page No. 1, now when I go to Page No. 2, I get selected items as 5 instead of 0.

    How to get selected items of clicked (new) page?

    Please help me regarding this issue!!!

    Dhaval

    Reply

  • Pavlina Pavlina admin's avatar

    Posted on Aug 31, 2011 (permalink)

    Hello Dhaval,

    RadGrid loses its current selection when the current page changes. How to persists selection across paging you can see from the following help articles:
    http://www.telerik.com/help/aspnet-ajax/grid-persist-selected-rows-on-sorting.html
    http://www.telerik.com/help/aspnet-ajax/grid-persist-selected-rows-client-sorting-paging-grouping-filtering.html

    Kind regards,
    Pavlina
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

    Reply

  • Dhaval avatar

    Posted on Sep 1, 2011 (permalink)

    Thank Pavlina for your reply, but my issue is not regarding loss of current selection. It is working fine in my case.

    My issue is that when I navigate to another (new) page, I want to get selected items of that new page, but what I get is selected items of previous (old) page.

    Please help me on this.

    Dhaval

    Reply

  • Pavlina Pavlina admin's avatar

    Posted on Sep 1, 2011 (permalink)

    Hello Dhaval,

    In general, the grid creates and holds between postbacks only the items on the current page. Therefore, the behaviour you are describing is a bit in contrast with the fact that the grid has and is aware only with the items on the current page.

    Kind regards,
    Pavlina
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > RadControls in ASP.NET MVC > Pagination Issue in Rag Grid