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

Page Count Bug (Sticks at largest count)

3 Answers 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David Sandor
Top achievements
Rank 1
David Sandor asked on 13 May 2008, 06:29 PM
I noticed that when I bind a recordset of 100 records the pagecount says there are 10 pages. 

If I then bind a larger recordset of say 1500 records the pagecount says there are 150 pages. 

Then binding a recordset of 80 records shows a page count of 150 pages.

So it appears that the page count is 'sticking' at the highest pagecount between 'Rebind()' calls with different sized datasets.

My RadGrid is inside a RadAjaxPanel.

Thanks for any help.
David Sandor

3 Answers, 1 is accepted

Sort by
0
Accepted
Craig Smith
Top achievements
Rank 1
answered on 13 May 2008, 06:52 PM
I found that adding this property to the RadGrid solved it...

EnableLinqExpressions

="false"

0
David Sandor
Top achievements
Rank 1
answered on 13 May 2008, 07:31 PM
Bingo!  That did it.  Thanks for the help.
David Sandor
0
Konstantin Petkov
Telerik team
answered on 14 May 2008, 05:47 AM
Hello Guys,

Unfortunately the described issue appeared to be a problem with the .Net3.5 version of RadGrid but it is already fixed and the fix will be included in the Service Pack expected later this week. You are correct about the the current work around - disabling the Linq expressions can be used temporary.

Sincerely yours,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
David Sandor
Top achievements
Rank 1
Answers by
Craig Smith
Top achievements
Rank 1
David Sandor
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Share this question
or