multiple datatable on a page with more then 10,000 record loading slow

Problem:

I have 5 datatable on different tabs on same page, I’m filling them up on page load in same method. I’m using entity framework,database first in mvc

Its loading too slow now. Is there some other way to load them, i was thinking of filling them up from different methods, by calling action method on tab click?

Can someone point me out the correct way to do it.

Thanks,

Solution:

jquery code:

ASP.NET C# Code (MVC)

Source:Stackoverflow

Please follow and like us:

Leave a reply

Your email address will not be published.