Text Issue on RadComboBox using MarkFirstMatch

2 posts, 0 answers
  1. Jacques
    Jacques avatar
    3 posts
    Member since:
    Nov 2011

    Posted 14 Nov 2011 Link to this post

    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.
  2. Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 16 Nov 2011 Link to this post

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