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

Problem with ComboBox search / autocomplete in IE9

8 Answers 261 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 12 May 2011, 04:51 PM
Hi there,

First, I'm running 2011.1.413.40

I have a RadComboBox that uses AutoComplete with Web Services to populate itself with matching items. Code be here:

<

 

 

telerik:RadComboBox ID="rcbTimeClientSearch" runat="server" AllowCustomText="true" Height

="100px" 

 

MarkFirstMatch="false" Width="150px" EmptyMessage="Client Search" EnableLoadOnDemand

="true" 

 

 

DataTextField="ClientName" DataValueField="ClientRef" EnableAutomaticLoadOnDemand

="True"

ItemsPerRequest="10" ShowMoreResultsBox="true" EnableVirtualScrolling="true" Filter="Contains" AutoPostBack="true"

 

<WebServiceSettings Method="GetTimeClient" Path="~/UserControls/ComboSearch.asmx" />

</telerik:RadComboBox>

 

 

The GetTimeClient method returns a RadComboBoxDataobject as you would expect.

This control works as expected in IE8, Chrome 11.0.696.65, FireFox 4, i.e. when you start typing, matching results from the web service are displayed. However, in IE9, I get the following client-side error as soon as the combo-box is dropped-down via the button, or the focus is set to the control:

Microsoft JScript runtime error: Unable to set value of the property '_item': object is null or undefined

I also get some very odd characters in the box...

If I run IE9 in Compatibility View, it's fine.

I am running the RadComboBoxControl in a user control, but even if it placed on a normal .aspx page, it still errors.

Any thoughts?

Thank you,

Mike K.

8 Answers, 1 is accepted

Sort by
0
Mike
Top achievements
Rank 1
answered on 17 May 2011, 08:45 AM
Has there been any progress on this from the Telerik side? Can anyone confirm / reproduce the error.

Kind regards,

Mike K.
0
Dimitar Terziev
Telerik team
answered on 18 May 2011, 10:35 AM
Hi Mike,

I've made a sample project based on your RadComboBox declaration and it was working properly in all browsers.

What you experience as an error might be related to your specific custom scenario.

Please verify, if you experience the same problem on the sample project provided.

Kind regards,
Dimitar Terziev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Mike
Top achievements
Rank 1
answered on 19 May 2011, 04:07 PM
Doh-eth, my bad, it was the underlying data that was at fault, all sorted now.

Thank you,

Mike K.
0
e
Top achievements
Rank 1
answered on 01 Jun 2011, 08:31 PM
I found the EnableAutomaticLoadOnDemand feature totally doesn't work at IE 9 . Did you test the browser of IE 9 ? or you just test at IE 8
0
Mike
Top achievements
Rank 1
answered on 02 Jun 2011, 08:21 AM
Hi e,

Yes, we used IE9 for testing as it (the functionality) was stable with IE8. As previously stated, it was a problem with our underlying data.

Kind regards,

Mike K.
0
Dimitar Terziev
Telerik team
answered on 03 Jun 2011, 01:10 PM
Hi E,

There has been a problem with LoD in IE9, but this problem is already fixed in the Q1 release.

Kind regards,
Dimitar Terziev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Nasir
Top achievements
Rank 1
answered on 04 Jun 2011, 07:50 AM
Hi Support,

I have same or similar problem. My code snippet is as under:
<telerik:RadAjaxPanel ID="RdPanel1" runat="server">
    <telerik:RadComboBox ID="RdCB1" runat="server" EmptyMessage="Indtast Institution navn"
        Width="180px" Height="100px" DataTextField="PersonalName"
        AutoPostBack="True" AllowCustomText="True"
        DataValueField="PersonalName" EnableLoadOnDemand="TRUE"  OnClientKeyPressing="ClientKeyPressing"
        EnableItemCaching="false" AccessibilityMode="true"
        ExpandDelay="500" Filter="None" HighlightTemplatedItems="True" ItemsPerRequest="10"
        ShowDropDownOnTextboxClick="False" ShowWhileLoading="false" LoadingMessage="Søger..." ShowMoreResultsBox="false" CloseDropDownOnBlur="true"
        CollapseDelay="0"
        BorderColor="#CCCCFF" BorderStyle="Solid" BorderWidth="1px"   >
        <ExpandAnimation Type="OutBounce" />
        <HeaderTemplate>
        <div id="live_search_bottom">
            </div
        </HeaderTemplate>
        <FooterTemplate
        <div id="live_search_bottom">
            </div>        
        </FooterTemplate>
        <ItemTemplate>
            <div id="live_search_content_new" onclick='javascript:closeSchoolSelect("<%# Eval("PersonalCity") %>","<%# Eval("us_safe_id") %>","<%# Eval("PersonalName") %>","<%# Eval("PersonalAddress") %>","<%# Eval("PersonalPostalCode") %>");'>
                <table border="0px">
                    <tr>
                        <td>
                                <%# Eval("PersonalName") %><br />                          
                                <%# Eval("PersonalAddress")%><br />
                                <%# Eval("PersonalPostalCode")%>, <%# Eval("PersonalCity")%>
            </td> </tr> </table> </div>
        </ItemTemplate>
    </telerik:RadComboBox>

I am using, ItemsRequested event.

The problem is that it is working fine on IE 8/7, Firfox, Chrom etc.
It is not working on IE9. In fact the server side event (ItemRequested) is not being fired on  IE9.



Assembly "Telerik.Web.UI.dll" I am using has version: 2010.1.309.20
Is there any specific problem with IE9 with this assembly version?

It is urgent as problem is popped up in production Environment.

Thanks & Regards
Nasir Hussain
Principal Software Engineer
Teo Pakistan.




0
Dimitar Terziev
Telerik team
answered on 08 Jun 2011, 03:20 PM
Hello Nasir,

As I've mentioned in one of my previous posts this problem is already fixed in the service pack for the Q1 2011 release, so you should upgrade to the first or the second service pack of Q1 2011.

Kind regards,
Dimitar Terziev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
ComboBox
Asked by
Mike
Top achievements
Rank 1
Answers by
Mike
Top achievements
Rank 1
Dimitar Terziev
Telerik team
e
Top achievements
Rank 1
Nasir
Top achievements
Rank 1
Share this question
or