This is a migrated thread and some comments may be shown as answers.

Compressing the response

1 Answer 106 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Cris
Top achievements
Rank 1
Cris asked on 22 Jul 2011, 11:23 PM
Hi,

I have a grid which contains people records. If the user expands one person then another nested grid is displayed which has several rows and for each row about 40 columns. Each column has a combo box. When a combo box is opened it displays a third grid. This 3rd grid is bound on the prerender method of the combo in which it resides.

The problem is that once I expand a few people several things happen, all of them bad:
1. The page size grows to over 20MB because the combos bind their grids and each grid is quite big.
2. The IIS process grows to over 1GB of RAM used and stays there even if I close the browser.
3. IExplore grows to about 600MB used. 

My biggest problem now is the size of the page, because evidently everything is moving very slow and eventually crashes. What can I do so that each grid is displayed only when the combobox opens?

I tried:
  • load on demand and it just doesn't get to ItemsRequested. 
  • I also tried to share a combo between all cells in the second grid, but it's too problematic because you never know where to open the popup. And if you manage to calculate based on offsets it just opens in the wrong direction. 
  • I also tried having the third grid load separately once and once each radcombobox opens I copy the innerhtml of the element in the dropdown. That worked, but I have no way of accessing the controls in the third grid because the dom doesn't get updated when I copy the innerhtml. 
  • Also tried binding the third grid via ajax request, but how would I know which radcombobox sent the request since I only have a string parameter to differenciate between them?

I appreciate any other suggestions.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Johny
Top achievements
Rank 1
answered on 28 Jul 2011, 07:24 AM
Hi,

I think the following page might help you in resolving your problem

http://www.telerik.com/help/aspnet-ajax/introduction-optimizing-output-page-load-time-using-radscriptmanager-radstylesheetmanager.html

Thanks,

Johny
Tags
Grid
Asked by
Cris
Top achievements
Rank 1
Answers by
Johny
Top achievements
Rank 1
Share this question
or