Combobox autocomplete does not work for special characters

4 posts, 0 answers
  1. zaphod94
    zaphod94 avatar
    10 posts
    Member since:
    Jun 2007

    Posted 20 May 2010 Link to this post

     <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
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 21 May 2010 Link to this post

    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.
  3. DevCraft banner
  4. zaphod94
    zaphod94 avatar
    10 posts
    Member since:
    Jun 2007

    Posted 21 May 2010 Link to this post

    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
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 25 May 2010 Link to this post

    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.
Back to Top