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

Pager details not working on production

3 Answers 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
A
Top achievements
Rank 1
A asked on 22 Aug 2016, 02:26 PM

Hello All,

I came across this strange issue happening only on production.

In my RadGrid, i have set the pager style as below, and its counting and displaying the paging details properly on local, dev and test environemnts (for example, 1,000 items in 10 pages)

<PagerStyle Mode="NextPrevAndNumeric" PageSizeLabelText="Page Size:" PageSizes="10,20,50" Position="TopAndBottom" PagerTextFormat="{4} {5:0,0} items in {1:0,0} pages" />

But on production, the counting of items and pages is behaving strange. For example, when i filter and sort or page to first or last page, the counting changes randomly and displays different numbers.

Can someone help me what must the issue?

I am binding the RadGrid with "asp:ObjectDataSource" (not using NeedDataSource event). I need to do this way, as this is an old code and cannot restructure everything for good reasons.

Please suggest.

 

 

 

 

3 Answers, 1 is accepted

Sort by
0
A
Top achievements
Rank 1
answered on 24 Aug 2016, 06:20 PM
Telerik team? Any help on this?
0
A
Top achievements
Rank 1
answered on 24 Aug 2016, 06:21 PM
Telerik team,  Any help on this?
0
A
Top achievements
Rank 1
answered on 27 Sep 2016, 06:20 PM

Telerik team any help on this? Additional details - I tried upgrading my telerik version from 2012 to 2014 but still see the problem. I am doing declarative binding of radgrid with objectDataSource, and performing custom paging in objectDataSource's selecting event (please note, i am not using NeedDataSource event to bind the grid). It works fine in all environments except production. 

On production when i do paging (navigate to 1,2,3 page...then go to last page, then jump back to first page. there i see some blank pages getting added to the grid and it increases the item count and page count in the pager). Please suggest what could be the issue as i have been trying this since couple of days and waiting to hear back from you.

Tags
Grid
Asked by
A
Top achievements
Rank 1
Answers by
A
Top achievements
Rank 1
Share this question
or