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

Footer paging next/previous buttons not working

1 Answer 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Izak
Top achievements
Rank 1
Izak asked on 11 Jul 2014, 12:14 PM
We recently upgraded to the 2014 Q1 release(2014.1.403.35). Since the update some of our grids footers paging next/previous buttons stopped working.

The grid loads the first page fine, then when you click the next button it load the second page, if you then click it again it stays at page two. Using the next button it never goes beyond the second page. The last page button works but if you then click the back button again it wont go to the previous page but all the way back to the first page again.

This only happens when I have AllowPaging="true" The pages with AllowCustomPaging="true" works fine.

I created a PageIndexChanged event for the grid and found the following:

In this example the page has 1210 items, 25 items per page so there is 49 pages.

If I click next page, the NextPageIndex is 1 (the grid then navigates to page 2)
When I click next page again, the NextPageIndex stays 1 (the grid stays on page 2)
If I click last page the NextPageIndex is 48. (it then navigates to page 49)
If you click page back or first page the event does not fire, but it navigates back to the first page.

This leads me to believe that the PageIndex is not being remembered somehow.

Do you have any idea what causes this and how to fix it?

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 16 Jul 2014, 07:43 AM
Hi Izak,

As mentioned in the official support ticket you have opened regarding this matter we have not been contacted for such a problem and would need the markup and code-behind to research it. In order to avoid duplicate posts I would kindly like to ask you to post your questions regarding the issue in the official support ticket. Once we are able to find what causes the unwanted behavior you can share your finding with the community so others can benefit from them.

Regards,
Angel Petrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Izak
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or