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

Combobox autocomplete does not work for special characters

3 Answers 141 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
zaphod94
Top achievements
Rank 1
zaphod94 asked on 21 May 2010, 03:00 AM
 <telerikInput:RadComboBox x:Name="usersList" 
                           Height="23" 
                           Margin="0,0,0,10" 
                           ItemsSource="{Binding Path=UsersList, Mode=TwoWay}" 
                           SelectedItem="{Binding Path=SelectedUserId, Mode=TwoWay}" 
                           DisplayMemberPath="Value" 
                           IsEditable="True" 
                           IsReadOnly="True" 
                           CanKeyboardNavigationSelectItems="True" 
                           MinWidth="220" 
                           OpenDropDownOnFocus="True" />

The combobox data has items like

Simpson, Homer (HSimpson)
Simpson, Bart (BSimpson)
Simpson, Lisa (LSimpson)

I cannot type ", Bart" and have "Simpson, Bart (BSimpson)" selected. Anything after "n" does not work.

Any ideas?

I cannot set IsReadOnly="False" That will allow me to enter data that may not be in the combobox

TIA

3 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 21 May 2010, 07:36 AM
Hello zaphod94,

You could set TextSearchMode=Contains to achieve the desired effect. The following online example could be used to easily poke around the control properties:
http://demos.telerik.com/silverlight/#ComboBox/Configurator

Sincerely yours,
Valeri Hristov
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
zaphod94
Top achievements
Rank 1
answered on 21 May 2010, 03:53 PM
Valeri,
Thanks for the response. The suggestion works if I set IsReadonly="false" but I dont want to set IsReadOnly="fakse"

If IsReadonly="True" then even if TextSearchMode is set, the autocomplete chokes.

Any ideas?

TIA
0
Konstantina
Telerik team
answered on 25 May 2010, 03:13 PM
Hello zaphod94,

Have you set the IsFilteringEnabled property to True? Please review this help article for more information about filtering.

If you still experience difficulties please let us know.

Best wishes,
Konstantina
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
Tags
ComboBox
Asked by
zaphod94
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
zaphod94
Top achievements
Rank 1
Konstantina
Telerik team
Share this question
or