Gridview sorting Problem

Gani tpt
Gani tpt used Ask the Experts™
on
Hi,

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..?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software Team Lead
Commented:
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

Author

Commented:
Thanks for the best solution...

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial