MultiCombo and IE8

  1. #1

    MultiCombo and IE8

    Hi,

    In IE8, when loading a lot of rows in a multicombo, i receive the message: "stop running this script" and then it crashes
    I don't receive this in IE9, safari and chrome. It's only in IE8.

    Here an example to reproduce:

    <%@ Page Language="VB" AutoEventWireup="false" Culture="auto" uiculture="auto" %>
    
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    
    
        <script runat="server">
                    
            <DirectMethod()> _
            Public Sub LoadStore1()
                Dim _Data As New System.Data.DataTable
                Dim _DataRow As System.Data.DataRow
                Dim _Index01 As Integer
                
                _Data.Columns.Add(New System.Data.DataColumn("ID", GetType(Integer)))
                _Data.Columns.Add(New System.Data.DataColumn("DisplayName", GetType(System.String)))
                
                For _Index01 = 0 To 1000
                    _DataRow = _Data.NewRow()
                    _DataRow("ID") = _Index01
                    _DataRow("DisplayName") = String.Concat("DisplayName" & _Index01)
                    _Data.Rows.Add(_DataRow)
                Next
                
                Me.Store1.DataSource = _Data
                Me.Store1.DataBind()
            End Sub
            
        </script>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <ext:ResourceManager ID="ResourceManager1" runat="server" DirectMethodNamespace="ParentMethods" /> 
             
            <ext:Window ID="WindowCombobox" runat="server" 
                Title="Radio options" 
                Width="730px" 
                Height="630px"
                Resizable="False"
                Closable="False"
                Modal="True"
                layout="FormLayout" 
                BodyPadding="10">
                <Items>
                    <ext:Button ID="btnLoad" runat="server" Text="LoadStore">
                        <Listeners>
                            <Click Handler="ParentMethods.LoadStore1();" />
                        </Listeners>
                    </ext:Button>
                    <ext:MultiCombo ID="ComboBox1" runat="server" 
                        SelectionMode="All"
                        ValueField="ID"
                        DisplayField="DisplayName"
                        TypeAhead="true"
                        QueryMode="Local" >
                        <Store>
                            <ext:Store ID="Store1" runat="server" >
                                <Model>
                                    <ext:Model ID="Model1" runat="server" IDProperty="ID">
                                        <Fields>
                                            <ext:ModelField Name="ID" />
                                            <ext:ModelField Name="DisplayName" />                                        
                                        </Fields>
                                    </ext:Model>
                                </Model>
                            </ext:Store>
                        </Store>
                    </ext:MultiCombo>
                </Items>    
            </ext:Window> 
           
        </div>
        </form>
    </body>
    </html>
    Thanx!
  2. #2
    Hi, any news/solutions on this one?

Similar Threads

  1. [CLOSED] Multicombo in gridPanel
    By imaa in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Nov 15, 2012, 1:28 PM
  2. [CLOSED] MultiCombo
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 20
    Last Post: Aug 02, 2012, 11:56 AM
  3. How to add a multicombo in gridpanel?
    By reezvi in forum 1.x Help
    Replies: 0
    Last Post: Mar 23, 2012, 8:04 PM
  4. selected value in MultiCombo
    By difa in forum 1.x Help
    Replies: 1
    Last Post: Dec 08, 2011, 1:30 PM
  5. Select all in MultiCombo
    By skrishnasamy in forum 1.x Help
    Replies: 0
    Last Post: Aug 12, 2010, 7:00 AM

Posting Permissions