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

2 posts, 0 answers
  1. Dan
    Dan avatar
    135 posts
    Member since:
    Feb 2011

    Posted 19 Nov 2014 Link to this post

    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?  
  2. Nencho
    Nencho avatar
    1820 posts

    Posted 24 Nov 2014 Link to this post

    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.


    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.

Back to Top