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

Load on data in telerik grid with pagination

8 Answers 447 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Margret
Top achievements
Rank 1
Margret asked on 05 Jul 2013, 11:39 AM
Load data on demand in telerik grid using pagination

Is it possible to load data on demand using pagination as like in ordinary asp grid controls? .It doesnot use any ajax and scrolling things.Initially it will load only 10 records.And if the records is more than 10,it will have paging control and display records based on the page index and page size.Can i do the load data on demand in grid, only based on the paging in grid?.

Thanks in advance
Margret

8 Answers, 1 is accepted

Sort by
0
Margret
Top achievements
Rank 1
answered on 08 Jul 2013, 06:35 AM
Hi all,
Any update on this requirement?
0
Eyup
Telerik team
answered on 10 Jul 2013, 09:07 AM
Hello Margret,

In case you want to handle only  a portion of your data items, you can check out this demo:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/custompaging/defaultcs.aspx

To load and display records with a condition, please refer to the following example:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/alphabeticpaging/defaultcs.aspx

Hope this helps.

Regards,
Eyup
Telerik
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 the blog feed now.
0
Margret
Top achievements
Rank 1
answered on 10 Jul 2013, 11:40 AM
Thanks.I will try it .
0
Margret
Top achievements
Rank 1
answered on 11 Jul 2013, 06:46 AM
Hi All,
By default I have sorted the data with product id by descending in sort expression.And then loaded the data in the grid on demand by custom paging concept.If I have sort the data by other columns header text,It does'nt load properly.Can anybody explain the sorting part with any other examples?
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/custompaging/defaultcs.aspx
I have referred the above link.But for my scnerio,I could not get the correct logic.

Thanks in advance,
Margret
0
Margret
Top achievements
Rank 1
answered on 12 Jul 2013, 05:38 AM
I think I have to set "AllowMulticolumnSorting=true" in master table view.
Regards,
Margret
0
Eyup
Telerik team
answered on 16 Jul 2013, 06:41 AM
Hi Margret,

I am glad that you have managed to overcome the issue and I hope that it will help other developers with similar scenarios.

Regards,
Eyup
Telerik
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 the blog feed now.
0
Margret
Top achievements
Rank 1
answered on 16 Jul 2013, 08:26 AM
Hi All
I have used the page index,pagesize value in the( rownumber query ) store procedure for getting dataset .

If I am trying to sort the details by clicking on the grid header columns like Age,Address etc.The sorting is not met my requirement.Please share any examples or steps  for sorting procedure for Load data on demand in grid using paging concepts.If  i am sorting,then change to the first page,it shows no record found. 

 

0
Eyup
Telerik team
answered on 19 Jul 2013, 01:52 PM
Hello Margret,

Can you please verify that you are not using DataBind()? Performing complex grid operations such as Inserting, Deleting, Updating, Hierarchy relations, Grouping, Paging, Sorting, Filtering, etc. require accommodating appropriate database operations.  Therefore, we suggest you to avoid Simple Databinding and strongly recommend the use of more advanced databinding methods, which automatically handle the aforementioned functions:
Declarative DataSource
Advanced Data Binding

Hope this helps.

Regards,
Eyup
Telerik
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 the blog feed now.
Tags
General Discussions
Asked by
Margret
Top achievements
Rank 1
Answers by
Margret
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or