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

Telerik RadGrid PageSize and client-side binding

4 Answers 298 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 19 May 2010, 05:04 PM
Hello,

I'm binding on the client-side using declarative binding.  Everything works great.  The only issue is when I try to set the page size in the master table view markup as:

<MasterTableView ... PageSize="25" />

I am not using custom paging.  When this runs, the grid doesn't show the pager.  When I remove this and use tableView.set_pageSize(25), it works fine.

Any ideas why?  I'm using the latest telerik, 2010.1.415

Thanks.

4 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 21 May 2010, 09:40 AM
Hi Brian,

Please examine the code snippet below and let me know if the issue still persists:
<MasterTableView PageSize="25" PagerStyle-AlwaysVisible="true">
           <Columns>
               ............

I hope this helps.

Greetings,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Brian Mains
Top achievements
Rank 1
answered on 18 Jun 2010, 04:13 PM
Hello,

That did work, yes great.  Additionally, if I wanted the pager selector, I had to set ShowPagerText to true too.  Just out of curiosity, why is it called ShowPagerText?  That isn't very intuitive...

Thanks.
0
Pavlina
Telerik team
answered on 21 Jun 2010, 01:56 PM
Hello Brian,

ShowPagerText property gets or sets a value indicating whether the pager text or only the pager buttons will be displayed. It's default value is true.

Best wishes,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Brian Mains
Top achievements
Rank 1
answered on 21 Jun 2010, 02:52 PM
That's odd, because without it, I didn't see the page index textbox or page size change textbox...  I'll have to look again.
Tags
Grid
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Brian Mains
Top achievements
Rank 1
Share this question
or