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

Radgrid client side data binding

1 Answer 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 1
Ron asked on 09 Apr 2012, 11:56 AM
Hi,

I'm using rad grid with client side data binding and so far everything works fine except for issues with paging. Paging works fine but there is a problem with Page size.  With the page size drop down menu jumping from 10 to 20 or 20 to 50 data is not displaying correctly once the page size exceeds the number set in the pageSize property. I attached a screen shot to give you an idea. The page size property is set to 10 and my data grid is displaying 20 results. You can see where the first 10 displays correctly but the second 10 does not. If I set the page size property to 20 then everything is fine. I tried setting the page size property(tableView.set_pageSize(20)) on the client side but that didn't work. Any suggestions? I'll really appreciate it.

Thanks,
Ron

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 12 Apr 2012, 07:57 AM
Hi,

Note that in order to have the paging works correctly you also need to set the total number of items your service can return using the set_virtualItemCount()  property of the MasterTableView object. See the forum thread below for more information on this matter:
http://www.telerik.com/community/forums/aspnet-ajax/grid/paging-with-client-side-binding.aspx

Greetings,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Ron
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or