Question

I'm developing an Asp.net web application.

In that application i need to show a report with three grid-views on a form with a large amount of data.Paging is enabled on all grids.

When user views report first 3-5 times it works fine but after that it takes a lot of time in loading.

I'm storing grid-views data into view state so that i can use this data at paging and sorting.

Can any one tell me what is the problem and how can i solve that problem

Was it helpful?

Solution

You should do following to make it faster.

  1. Paging : Do custom paging instead of standard paging so only page-size amount of data is stored for the current page. It will hugely improve the performance. Please refer Custom Paging.

  2. Also in the page, disable the view-state of controls if not required.

  3. You can also use caching if grid-view data is read-only. Caching

OTHER TIPS

It´s difficult to resolve performance problems without having all information about your code and server.

Can be a concurrence problem?

Are you doing another operations in the web page that reduce performance?

Is your webpage alone in the server or are there other apps that can interfere with yours?

I expect give you some clue.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top