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

Telerik RadComboBox takes lot of time when doing filter in it, using LoadOnDemand mechanism

5 Answers 132 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Priyanka
Top achievements
Rank 1
Priyanka asked on 13 Aug 2015, 01:12 AM

I have a RadComboBox control inside RadGrid in which Items are loaded using LoadOnDemandmechanism i.e., _ItemRequested() event

All working fine except the 2 issues:
1) There is a significant lag between the time the end-user begins typing and when the filtered items show up. What I observed that the searching in RadcomboBox is done character wise not Word wise.
2) Also, takes time to load data regardless of what value is set in ItemPerRequest property in RadComboBox when using LoadOnDemand.

The maximum items in this RadComboBox can be 20,000+ as well.
User is complaining again and again for the performance issue. Please someone let me know the simplest way of resolving the 2 issues.
I followed below Link (Server Side method), to achieve LoadOnDemand functionality:http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx
If there is no solution to solve the 2 preformance issue then please let me know how to do the searching in RadComboBox, which is inside RadGrid, using LoadOnDemand approach on BUTTON click ?? Will this resolve the 1st Issue ??
Please note that I am new in Telerik. Thanks in advance.

5 Answers, 1 is accepted

Sort by
0
Priyanka
Top achievements
Rank 1
answered on 15 Aug 2015, 04:28 PM

Please someone reply to my posted question as its already been long since I had posted my here. Still I am stuck in this and unable to find any solution. I am having deadline to resolve it. Please I request all the Telerik experts here to help me in resolving this as soon as possible. Specially the 1st issue.

Thanks in advance.

0
Priyanka
Top achievements
Rank 1
answered on 15 Aug 2015, 04:36 PM

I saw this link (http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx) as well. The search is working so smoothly here without any lag then why not in my code ?

I followed same link for "Load on Demand" mechanism i.e., Server-Side approach, for 2nd RadComboBox

Please reply.

0
Nencho
Telerik team
answered on 17 Aug 2015, 11:23 AM
Hello Priyanka,

The data you attempt to populate the control with is enormous and it is an inevitably slow operation, considering the enormous amount of HTML that needs to be rendered on the page.

You can try to enhance the process, using the approach demonstrated in the online demo that you have referenced - try to enable the VirtualScrolling and define a ItemsPerRequest as demonstrated in the RadComboBox2_ItemsRequested event handler in the code of the DefaultCS.aspx.cs page. Ofcourse, you can increase the items per request to a preferable value, in order to boost the loading process.

Regards,
Nencho
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Matt
Top achievements
Rank 1
answered on 10 Jul 2018, 03:30 PM
Defining "ItemsPerRequest" is ignored. Virtual scrolling didn't make any visible difference. Please see the images to see what I mean.
0
Marin Bratanov
Telerik team
answered on 11 Jul 2018, 03:56 PM
Hi Matt,

Does the information provided by Peter in the other thread you posted in help: https://www.telerik.com/forums/radcombobox-item-duplicate#ad6so4Jwi0y_E-K4WvuNCg? The provided combo box declaration uses manual load-on-demand through the  ItemsRequested event, so the developer needs to use the arguments provided by the event and only add the necessary items to the control.


Regards,
Marin Bratanov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Priyanka
Top achievements
Rank 1
Answers by
Priyanka
Top achievements
Rank 1
Nencho
Telerik team
Matt
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or