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

Load on Demand - Removing some Matches because Matching text is not displayed?

1 Answer 13 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 19 Nov 2014, 05:22 PM
I have a load-on-demand combobox set with a custom OnItemRequested handler.  The user can start typing a part of a client name, email, address, etc and the custom code will go do a select on the database and return items.

The problem I am having is that IF the items returned from the database do not include the typed text - they are not displayed in the dropdown.  I have set Filter="none" but that does not seem to help.

For Example: I type in ABC - the database finds a match - returns it - and it is databound to the combobox.  However ABC is not actually in the DataTextField or DataValueField - nor is it in any of the fields displayed in the <ItemTemplate> of the dropdown.  In this case, the line does not display.

Is there a workaround for this?  

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 24 Nov 2014, 12:08 PM
Hello Dan,

Thank you for contacting Telerik Support.

The described issue is quite strange, as the items, once returned from the underlying database should get displayed if no filtering is applied in the control. Could you please provide us with the entire implementation of the control that you use, so we could perform some further local tests and try to replicate the described behavior.

Thank you in advance for your cooperation. I am looking forward to your reply.

Regards,
Nencho
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ComboBox
Asked by
Dan
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or