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

Autocomplete doesn't work

2 Answers 67 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ralf
Top achievements
Rank 1
Ralf asked on 18 Jul 2013, 10:40 AM
Hello,
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?

Regards,
Ralf


2 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 23 Jul 2013, 10:56 AM
Hello,

 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,
Plamen
Telerik
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.
0
Ralf
Top achievements
Rank 1
answered on 23 Jul 2013, 10:59 AM
Hello Plamen,

thank you for information.

Best regards,
Ralf
Tags
ComboBox
Asked by
Ralf
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Ralf
Top achievements
Rank 1
Share this question
or