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

Performance when all items are in edit mode

1 Answer 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Toni Gomez
Top achievements
Rank 1
Toni Gomez asked on 15 Jul 2009, 11:29 AM
Hi,

I have a RadGrid in which all rows are in edit mode, like in this example:
http://www.telerik.com/help/aspnet-ajax/grdputallitemsineditmodenoadditionalrebind.html

In the grid I have 7 columns containing checkboxes, 1 RadCombo, 1 RadNumericInput and 4 RadTextBoxes.
This is because the user should edit all rows and then press save to update everything. The number of rows that are edited is variable. The performance of this application gets progressively worse when there are more rows.

For instance, with 90 rows, after the page is loaded on the client side, there is initially an empty radgrid.
It then takes 20 seconds in FF and about 40 seconds in IE before the textboxes and checkboxes are rendered.

We have a RadFormDecorator, but every time you hover your mouse over a checkbox or click it, it takes about 3 seconds before this has any visual effect. We put checkboxes in the ControlsToSkip property of the decorator, which improved the performance significantly in FireFox.

In IE however, we still suffer from very long mouse action response times. Usually IE will stop responding altogether and we need to kill the process.

This is on a machine with dual core 2.53 GHz processors and 4GB RAM. I've tested on other machines as well with similar results.

Has anyone experienced similar problems with editing all rows in a grid? And more importantly, does anyone have any suggestions on how to solve this?

Thanks,
Jaap

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 20 Jul 2009, 04:12 PM
Hello Jaap,

The described behavior is expected, because for every additional rendered row new instances of RadComboBox and RadNumeriTextBox controls are created on client. In order to increase performance you can use DropDownList control along with RadFormDecorator and RadNumericInputManager. For more information you can review this blog post. You can also review this online help article.

Regards,
Georgi Krustev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Toni Gomez
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or