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

Text Issue on RadComboBox using MarkFirstMatch

1 Answer 57 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jacques
Top achievements
Rank 1
Jacques asked on 14 Nov 2011, 09:21 AM
Hi Telerik Team,

I am using a rad combo box with MarkFirstMatch property.and i used to bind  the rad combobox  with different  countries name using ID="ddlCountry" . I used this same ID="ddlCountry
" in various asp.net pages.
 <telerik:RadComboBox ID="ddlCountry" ExpandDirection="Down" runat="server"
                              MaxHeight="300px" Width="120px" DropDownWidth="150px"
                              AllowCustomText="false"   MarkFirstMatch="true" >
  </telerik:RadComboBox >
But when i start typing in that Rad Combobox,it works fine until i type the second character of country but when i typed the third character the existing values are getting erased and only the third character which i typed comes to first position and its MarkFirstMatch property is not working properly.

first i can try to bind  the rad combobox using code behind methods  with different  countries name and then  i also try to bind it with  the hard coded items values with different  countries name using ID="ddlCountry" .( Which Gives me Same Results)

But this problem is resoved when i simply changed the ID of rad combobox e.g
 <telerik:RadComboBox ID="ddlCountries" ExpandDirection="Down" runat="server"
                              MaxHeight="300px" Width="120px" DropDownWidth="150px"
                              AllowCustomText="false"   MarkFirstMatch="true" >
  </telerik:RadComboBox >
and its MarkFirstMatch property works fine...and it is happening for some specific keywords like ddlCountry, ddlState etc.
I am not sure what's the exact reason behind it??? My current telerik radcontrols version is 2011.1.1.519.35

Please Help.

1 Answer, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 16 Nov 2011, 05:29 PM
Hello Jacques,

Breaking the MarkFirstMatch of the RadComboBox in the described way, is a known behavior to us. We have published an article on this matter, which provides a temporary solution to this problem. You could find it here : MS Update Breaks Combo's MarkFirstMatch.

There is an  "Additional Note" of the article linked above which should be taken into consideration.

Best wishes,
Ivana
the Telerik team
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 their blog feed now
Tags
ComboBox
Asked by
Jacques
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Share this question
or