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

Telerik Grid Paging Issue

1 Answer 21 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pardha Saradhi
Top achievements
Rank 1
Pardha Saradhi asked on 21 Feb 2011, 10:46 AM
Hi,

I am using Telrik Grid by using data on load method, ie i am loading virtual item count value based on the value which is given by database stored procedure. so i found that, it is a performace issue to get the rowcount from the database.
So i want to use "Grid Paging" by using "NextPrev" technique without using "VirtualItemCount", so can anybody please conform that ...is it possible to use "Grid navigations" using "NextPrev" technique without "VirtualItemCount"?.

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 21 Feb 2011, 12:39 PM
Hello Pardha,

In order to implement custom paging, grouping and filtering using NeedDataSource, you should define the total number of records in the grid source through the VirtualItemCount property of the MasterTableView.
If you want the grid to fetch only the required amount of data from an ObjectDataSource control, there is no need to set the VirtualItemCount property.
Please examine the following help topics for additional information:
Custom paging
Custom paging through ObjectDataSource population

I hope this helps.

Regards,
Mira
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Grid
Asked by
Pardha Saradhi
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or