AllowCustomText and MarkFirstMatch don't work in IE9

6 posts, 0 answers
  1. tomekm
    tomekm avatar
    36 posts
    Member since:
    Mar 2009

    Posted 24 May 2011 Link to this post

    I use 2010.1.519.40 version of Rad Controls for ASP.NET AJAX

    My RadComboBox uses markfirstmatch="true and allowcustomtext="true"

    Here is code snippet:

    <telerik:RadComboBox ID="RadComboBox1" runat="server" AllowCustomText="True" MarkFirstMatch="True"
      DataSourceID="LinqDataSource1" DataTextField="Name" DataValueField="Id">
    </telerik:RadComboBox>

    It does not work in IE9.

    Autocomplete does not work at all and when I type custom text into control, on postback previously selected is set and RadComboBox1.Text on server side is set to that item.

    Is there any fix/workaround?

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 24 May 2011 Link to this post

    Hello Rychu,

    IE 9, FireFox 4 and Google Chrome10 are supported by Telerik controls starting Q1 2011. So I suggest you to migrate to the new version. With older versions these browsers are only partially supported and the new features/enhancements or bugfixes merely for new versions of our AJAX components.

    Thanks,
    Shinu.

  3. Sompop
    Sompop avatar
    26 posts
    Member since:
    Aug 2007

    Posted 29 Nov 2011 Link to this post

    Hi Shinu and Team,

    I know that you mentioned that Telerik will support since 2011 Q1. However, the latest version of .Net 2.0 is 2010 Q3 SP2. My issue is probably similar or the same. There is not much problem with IE8; however, with IE9, I have to use compatibility view in order for the "AllowCustomText" to work as expected. If not click compatibility view on IE9, when users type something not in the list, it will go back to the previous selected item on the list. If there is a workaround or some code to put, please let me know. Or if the latest version of .Net 2.0 is later than 2010 Q3 SP2 and it fixes this problem, please let me know as well.

    <telerik:RadComboBox ID="rcbModel" runat="server" DataSourceID="SQLDS_Model" Skin="Default"
    AutoPostBack="False" MarkFirstMatch="True" DataValueField="model" DataTextField="model" AllowCustomText="true" />

    Thank you,

  4. Helen
    Admin
    Helen avatar
    1001 posts
    Member since:
    Sep 2012

    Posted 01 Dec 2011 Link to this post

    Hello,

    You have two options:

    1. Force the page to open in Compatibility View.
    2. You may build the source code of some of the latest versions(Q1 20011 and later) against .net2.0.


    Regards,
    Helen
    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

  5. Sompop
    Sompop avatar
    26 posts
    Member since:
    Aug 2007

    Posted 05 Dec 2011 Link to this post

    It actually works to force to open the page in compatibility view mode by taking out of the doctype tag. However, the css on my app is acting weird now.

    I guess I have to find some other ways to achieve this.

    Thank you,

  6. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1113 posts
    Member since:
    Sep 2012

    Posted 08 Dec 2011 Link to this post

    Hi Sompop,

    My suggestion is try the second option and build a .NET 2.0 dll from the source code, as my colleague had suggested.

    On how to force the page to open in compatibility view, please refer to the following help document.

    Greetings,
    Dimitar Terziev
    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