Hi,
I'm running into an issue with my paging buttons (First Page, Previous Page, Next Page, Last Page) not working, the page numbers are working as expected, if I click on one of them, then the correct data is shown in the grid.
Initially, when clicking on the above paging buttons I was receiving a JavaScript error telling me to add EnableEventValidation="false" to my page properties, which I did. However, when I click on the paging buttons nothing happens, the data displayed in the grid does not change - Clicking on the page number was again working prior to this change. I can see that a post back occurs when either the paging button or screen numbers by placing a breakpoint in my Page_Load.
Whilst looking through the forums here I saw an posting (http://www.telerik.com/community/forums/aspnet-ajax/grid/first-and-last-page-buttons-in-paging-do-not-work.aspx), which appeared to be the same issue, but by placing a RadAjaxManager on the screen the issue appears to have been resolved, this did not work for me. I tried placing the reference in my Master page, then again in my content page.
I've also seen instances of people placing EnableViewState="false" in the grid, when I do this I enter my OnNeedDataSource code when clicking on the page numbers, but it's not entered for the paging buttons, the data still does not change.
The only thing that I'm doing different from the many times that I've used the RadGrid in the past is that the grid is placed within a container class which inherits from RadGrid, as my client wishes to provide some additional functionality in the grids which isn't present out of the box.
Thanks in advance for any help or advice offered.
Liam
I'm running into an issue with my paging buttons (First Page, Previous Page, Next Page, Last Page) not working, the page numbers are working as expected, if I click on one of them, then the correct data is shown in the grid.
Initially, when clicking on the above paging buttons I was receiving a JavaScript error telling me to add EnableEventValidation="false" to my page properties, which I did. However, when I click on the paging buttons nothing happens, the data displayed in the grid does not change - Clicking on the page number was again working prior to this change. I can see that a post back occurs when either the paging button or screen numbers by placing a breakpoint in my Page_Load.
Whilst looking through the forums here I saw an posting (http://www.telerik.com/community/forums/aspnet-ajax/grid/first-and-last-page-buttons-in-paging-do-not-work.aspx), which appeared to be the same issue, but by placing a RadAjaxManager on the screen the issue appears to have been resolved, this did not work for me. I tried placing the reference in my Master page, then again in my content page.
I've also seen instances of people placing EnableViewState="false" in the grid, when I do this I enter my OnNeedDataSource code when clicking on the page numbers, but it's not entered for the paging buttons, the data still does not change.
The only thing that I'm doing different from the many times that I've used the RadGrid in the past is that the grid is placed within a container class which inherits from RadGrid, as my client wishes to provide some additional functionality in the grids which isn't present out of the box.
Thanks in advance for any help or advice offered.
Liam