how to provide total number of records to the iTotalRecords
how to provide total number of records to the iTotalRecords

Hi,
I have been trying to implement this amazing tool, but the problem i am facing is i am unable to provide total number of records.
I am using serverside with pipelining.
1. i have 25000 records.
2. i need to show 10 records, and pipe size i gave is 30 records (iPipe = 3).
3. i can see - Showing 1 to 10 of 30 entries (filtered from 25000 total entries).
4. i have disabled search. In my LINQ query there is a where condition that gets the 30 records(iDisplayRecords via pipelining).
If the datatables get the iTotalRecords only if my query gets all 25000 records then i am in trouble.
Is there a way to provide the iTotalRecords.
Kindly guide in this regard.
I have been trying to implement this amazing tool, but the problem i am facing is i am unable to provide total number of records.
I am using serverside with pipelining.
1. i have 25000 records.
2. i need to show 10 records, and pipe size i gave is 30 records (iPipe = 3).
3. i can see - Showing 1 to 10 of 30 entries (filtered from 25000 total entries).
4. i have disabled search. In my LINQ query there is a where condition that gets the 30 records(iDisplayRecords via pipelining).
If the datatables get the iTotalRecords only if my query gets all 25000 records then i am in trouble.
Is there a way to provide the iTotalRecords.
Kindly guide in this regard.
This discussion has been closed.