We help IT Professionals succeed at work.

Gridview sorting Problem

Gani tpt
Gani tpt asked

I am using gridview and i am loading more than 20,000 (twenty thousand records) records at a time.

when i click the sorting for the parrticular column, i am getting page cannot be displayes.

if i load less than 10,000 records then the sorting working fine.

what is the problem in the gridview..?
Watch Question

Software Team Lead
the problem is you are loading too many records into the gridview.

and the fact that no one wil see 20,000 records in one glance. hence, try to do some pagination to limit your record selection to optimize the page loading performance.
Gani tptTech Lead cum developer


Thanks for the best solution...