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

How to set total no. of records for automatic paging

1 Answer 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Amol
Top achievements
Rank 2
Amol asked on 21 May 2009, 12:22 PM
Hello,

I am using  web service for search, that returns me total no. of results found and search results with in given limit (say 10 records per request),

Is it possible to set total no. records for grid, so paging will done automatically ?

(web service is not developed in .net)


 Thanks,
Amol




1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 25 May 2009, 02:27 PM
Hello Amol,

Try setting the VirtualItemCount property of the grid to the number of records desired and see if this works for you.

Find more about RadGrid client-side data-binding in the below demos:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/databinding/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/grid/examples/client/livedata/defaultcs.aspx

Kind regards,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Amol
Top achievements
Rank 2
Answers by
Iana Tsolova
Telerik team
Share this question
or