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

combo box inside grid

3 Answers 113 Views
Grid
This is a migrated thread and some comments may be shown as answers.
newbie
Top achievements
Rank 1
newbie asked on 05 Aug 2008, 05:48 PM
I have a combobox in the edititemtemplate of two of my grid cloumns.
The comboboxes are realted combo boxes that is the value of the first combo determines the list in the second combo.

when I select something in my first combo , the second combo takes very long to load.

Is there something I can do to improve the performance.
I am using loadondemand for the combos.

The rest of my columns have a textbox in the edititemtemplate. I tried replacing them with the gridnumericcolumn but that makes no difference to the performance of the combo boxes.

please give any suggestions.

3 Answers, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 06 Aug 2008, 11:22 AM
Hi newbie,

Please try a little test. Bind your two comboboxes to some simple data sources (a string array or a couple of items in an enumeration). Test your performance with these data sources and see if you get any speed improvements when loading. If so, this is an indication of slow response time from your data source.

Greetings,
Veli
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
newbie
Top achievements
Rank 1
answered on 06 Aug 2008, 04:50 PM
I changed the datasource and provided a static list of 2 items in each of the combobox and still the response time is same.
It's the combo box inside the grid that takes time. if I put those tow combos outside the grid it loads fast.

I have seen this before in an earlier project and didn't reach a conclusion at that time as well , but that was on a page that wasn't used frequently so it didn't bother the users much.

This page is used very heavily and the slow response time is not accetable to the user. Can you suggest something?

0
Sebastian
Telerik team
answered on 07 Aug 2008, 08:39 AM
Hello newbie,

You might be interested in reviewing the Performance tips and tricks chapter from the online documentation which elaborates on different techniques for optimizing the grid loading time. Additionally, review the sample project from the KB article linked below as you may find it useful:

http://www.telerik.com/support/kb/article/b454K-gca-b454T-cbb-b454c-cbb.aspx

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
newbie
Top achievements
Rank 1
Answers by
Veli
Telerik team
newbie
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or