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

What is the best practice to make radgrid loadonDemand using page

2 Answers 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Hyoung woo Lee
Top achievements
Rank 1
Hyoung woo Lee asked on 24 Mar 2010, 01:50 AM


Hi

I am very new to RadGrid AJAX. I encountered a situation getting datasource from other applications using their api
one of my customer set up api for us to provide some information. I have to make gridview to show datas from customer
External API will send 20 rows data per every tractation . And it will give us total count of data and current page's number
So i have to make paging area in my radgridview based on information comes from external api
( ie  total page number and current page property) it's not allowed to get all data using external API because there maybe 
contains huge data depends on condition So It should be avoid to get all data from external API. I don't know how to make 
paging area based on the above data and how to bind new datasource when end user click next button of paging or number of 
page . Please Let me get some advice to overcome this situation. Any Advice will be appreciated.

Regards,
Eum

2 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 29 Mar 2010, 07:15 AM
Hi Hyoung,

You can implement RadGrid with custom paging to achieve your goal.
Please check out the below online resources for more information:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/custompaging/defaultcs.aspx
http://www.telerik.com/help/aspnet-ajax/grdcustompagingthroughobjectdatasourcepopulation.html
http://www.telerik.com/help/aspnet-ajax/grdcustompaging.html

Let us know if further questions arise.

All the best,
Iana
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
Hyoung woo Lee
Top achievements
Rank 1
answered on 29 Mar 2010, 11:29 AM
Thanks for reply

I didn't find the custom paging demo page when i post the message. I made  my application using custom paging
I appreciate your kind reply

Regards,
Eum 
Tags
Grid
Asked by
Hyoung woo Lee
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Hyoung woo Lee
Top achievements
Rank 1
Share this question
or