Autocomplete doesn't work

3 posts, 0 answers
  1. Ralf
    Ralf avatar
    86 posts
    Member since:
    Jun 2012

    Posted 18 Jul 2013 Link to this post

    in my appliation I'm haveing a combobox that is dynamically loaded into the page.
    The combobox was configured to use autocomplete and the data will be load ba load on demand via a webservice.

    All is working fine. The control receiving the data form the webservice as expected.
    Only on typing into the textbox the first matching data will not be written into the textbox of the control as expected and shown in the online demo.
    Also I'm not able to navigate through the data in the dropdown by keyboard.

    Here is my code:

    RadComboBox lookupbox = new RadComboBox();
    lookupbox.ID = controlname;
    lookupbox.ShowToggleImage = false;
    lookupbox.MarkFirstMatch = true;
    lookupbox.Filter = RadComboBoxFilter.Contains;
    lookupbox.AutoPostBack = false;
    lookupbox.EnableLoadOnDemand = true;
    lookupbox.MarkFirstMatch = true;
    lookupbox.ShowMoreResultsBox = true;
    lookupbox.EnableVirtualScrolling = true;
    lookupbox.AllowCustomText = false;
    lookupbox.CausesValidation = false;
    lookupbox.ItemsPerRequest = 50;

    I'm using Telerik controls Q1.2013 without any fix on SharePoint 2013. As browser I'm using IE9/10.

    Any solution or hint?


  2. Plamen
    Plamen avatar
    3025 posts

    Posted 23 Jul 2013 Link to this post


     Here is the code that I commented so that is works as on the demo:

    // lookupbox.Filter = RadComboBoxFilter.Contains;

    If the filter is set to Contains the desired functionality can not be achieved and only the typed letters are seen in the input.

    Hope this will be helpful.Regards,
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. Ralf
    Ralf avatar
    86 posts
    Member since:
    Jun 2012

    Posted 23 Jul 2013 Link to this post

    Hello Plamen,

    thank you for information.

    Best regards,
Back to Top