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

[Solved] Slow rendering on client

2 Answers 192 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 02 Dec 2009, 03:20 PM
Hi All,

I have a rad grid that I am using to allow the user to enter in two different dates on each row along with a combo box drop down.  The calendars are both set to use a shared calendar and the combo is set to be load on demand.  The grid itself always shows the edit form for each row as most rows will need to be edited before being saved to the database.  The EditFormType is set to Template.

My routine uses the RadScheduler functions to generate a set of dates and these are used for the rows.  From watching what is going on it seems as though the whole server side of things is very fast, as soon as the page renders the whole thing drags.

The other aspect that is causing trouble is that I need an AJAX event to fire when the date fields change, this works but causes the whole grid to rerender itself again.

Any troubleshooting tips on speeding up the controls?

Regards,

Jon

2 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 07 Dec 2009, 02:44 PM
Hello Jon,

Please review the below online resource for suggestions on how to increase your page performence:

http://www.telerik.com/products/aspnet-ajax/resources/top-performance.aspx
http://www.telerik.com/help/aspnet-ajax/grdviewstatereductiontechniques.html
http://www.telerik.com/help/aspnet-ajax/grdviewstateoptimization.html

Additionally, please confirm that the shared calendar you are using is outside the grid but in the EditForm declaration. Also, if the RadComboBox controls does not have to much items and you are not using any of the RadComboBox control client-side features, you can consider replacing them with DropDownList controls. Otherwise I suggest that you allow paging for the grid and display upto 20 items at a time.

Regards,
Iana
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Jon
Top achievements
Rank 1
answered on 07 Dec 2009, 04:08 PM
Hi Iana,

Many thanks for that although I took a different approach for both speed and visual size restrictions.  I made my own control for the grid side of things and then simply used a small form to the right to handle the admin of my grid elements.  Perhaps a bit of a bizare way to do it but it's very quick.

Luckily for me this page will be a one off!  Shouldn't have said that should I ;)

Best Regards,

Jon
Tags
Grid
Asked by
Jon
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Jon
Top achievements
Rank 1
Share this question
or