[CLOSED] Over editor problem with IE9-IE10

  1. #1

    [CLOSED] Over editor problem with IE9-IE10

    Hello,

    I am facing below error in specific conditions when using over editor for grid panel. The error comes after I select an item from combobox editor and move mouse out of the editing cell.

    Click image for larger version. 

Name:	overeditor.png 
Views:	37 
Size:	30.2 KB 
ID:	6152

    If I set Editable="false" for MyComboBox editor component, the problem disappears. I see it only with IE 9 and IE10. It is fine with IE8 and Chrome.

    Scenario: Edit Item 09 and move mouse on any other row. The error does not happen always but I am pretty sure you will catch it if you try.

    Sample code to re-produce:

    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
     
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!X.IsAjaxRequest)
            {
                this.Store1.DataSource = TestData();
                this.Store1.DataBind();
    
                this.Store2.DataSource = TestData();
                this.Store2.DataBind();
            }
        }
    
        private List<object> TestData()
        {
            List<object> data = new List<object>
                {
                    new {
                            ID = 1,
                            Name = "Item 01"
                        },
                    new {
                            ID = 2,
                            Name = "Item 02"                    
                        },
                    new {
                            ID = 3,
                            Name = "Item 03"                
                        },
                    new {
                            ID = 4,
                            Name = "Item 04"                   
                        },
                    new {
                            ID = 5,
                            Name = "Item 05"                    
                        },
                    new {
                            ID = 6,
                            Name = "Item 06"                    
                        },
                    new {
                            ID = 7,
                            Name = "Item 07"                
                        },
                    new {
                            ID = 8,
                            Name = "Item 08"                   
                        },
                    new {
                            ID = 9,
                            Name = "Item 09"                    
                        }                          
                };
            return data;
        }
     
    </script>
    
    <!DOCTYPE html>
    
    <html>
    <head id="Head1" runat="server">
        <title>ComponentColumn Over Editor - Ext.NET Examples</title>
        <link href="/resources/css/examples.css" rel="stylesheet" />    
    </head>
    <body>
        <form id="Form1" runat="server">
            <ext:ResourceManager ID="ResourceManager1" runat="server" />
            
            <h1>ComponentColumn as Over Editor</h1>        
            <ext:Store ID="Store1" runat="server">
                <Model>
                    <ext:Model ID="Model1" runat="server">
                        <Fields>
                            <ext:ModelField Name="ID" Type="Int" />
                            <ext:ModelField Name="Name" Type="String" />
                        </Fields>
                    </ext:Model>
                </Model>
            </ext:Store>
            <ext:Store ID="Store2" runat="server">
                <Model>
                    <ext:Model ID="Model2" runat="server">
                        <Fields>
                            <ext:ModelField Name="ID" Type="Int" />
                            <ext:ModelField Name="Name" Type="String" />
                        </Fields>
                    </ext:Model>
                </Model>
            </ext:Store>
            <ext:GridPanel ID="MyGrid" runat="server" StoreID="Store1" MinHeight="200" Collapsible="false" Flex="1" Title="My Grid">
                <ColumnModel runat="server" ID="ColumnModel">
                    <Columns>
                        <ext:Column ID="Name" runat="server" Text="Name" DataIndex="Name" Align="Left" Flex="1" MinWidth="250"></ext:Column>                                                                                                                                                               
                        <ext:ComponentColumn ID="Val" runat="server" Text="Val" DataIndex="ID" Align="Left" Flex="1" MinWidth="120" Editor="true" OverOnly="true" PinEvents="expand" UnpinEvents="collapse">
                            <Component>
                                <ext:ComboBox ID="MyComboBox" runat="server" DisplayField="Name" ValueField ="ID" Editable="false" QueryMode="Local" AllowBlank="false" StoreID="Store2">
                                </ext:ComboBox>                                             
                            </Component>
                        </ext:ComponentColumn>    
                    </Columns>
                </ColumnModel>
            </ext:GridPanel>        
        </form>
    </body>
    </html>
    Last edited by Baidaly; May 03, 2013 at 6:28 PM. Reason: [CLOSED]
  2. #2
    The same error also applies to this ext.net example code if you set Editable = "false" for ComboBox component.
  3. #3
    Hi @bayoglu,

    I am unable to reproduce with your test case and our example using IE9 and Windows 7.
    The error does not happen always but I am pretty sure you will catch it if you try.
    How often does it occur for you? I tried about 10 times for each test case.

    Also did you test it with the original IE9 or IE10 in IE9 mode?
  4. #4
    Hi @Daniil,

    I tested it with IE10 in IE9 mode on Window 8. Since I know the right move, I get the error each time I try. Would a video record help?
    You are editing the combobox component column, right?
    Thanks.
    Last edited by bayoglu; May 03, 2013 at 1:05 PM.
  5. #5
    Below is a video record of how I get the error.



    Note-1: There is no problem if you move mouse over a row "down the editing row". The error is thrown if you move mouse over a row "up the editing row".

    Note-2: If you move the mouse over a row down the editing row and the cell is updated, then the error does not show again for the following edits.


    Note-3: If Editable=true is set for the combobox, problem disappears again.
    Last edited by bayoglu; May 03, 2013 at 2:02 PM.
  6. #6
    Thank you for the details.

    Please clarify what exactly Ext.NET sources are you testing with?
  7. #7
    Vladimir was able to reproduce it in IE10 and committed the fix to SVN.

    Please update.
  8. #8
    It works like a charm. Thank you for the quick response. Please mark as closed.

Similar Threads

  1. [CLOSED] Application is not working properly in IE10
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Sep 24, 2013, 9:11 AM
  2. IE10
    By PetrSnobelt in forum Open Discussions
    Replies: 7
    Last Post: May 24, 2013, 5:06 AM
  3. [CLOSED] [v 2.1] Issue with Image Command Handler in IE10
    By amitpareek in forum 2.x Legacy Premium Help
    Replies: 8
    Last Post: Apr 18, 2013, 6:03 AM
  4. [CLOSED] ImageCommand in IE10
    By Justin_Wignall in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Mar 08, 2013, 4:32 PM
  5. [CLOSED] PieChart rendering problem in IE10
    By HansWapenaar in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Feb 24, 2013, 7:52 PM

Posting Permissions