[CLOSED] Compatibility Mode in IE 9

  1. #1

    [CLOSED] Compatibility Mode in IE 9

    Hello
    I would like to ask if the compatability mode is supported or not.

    for example, following code works fine in IE 9 and FF, but in compatability mode of IE 9 there is an issue:
    dropdowns renders moreless fine, just a little bit shorter. When resizing the page they are continiously making shorter and shorter, so at the end the they are not visible.

    <%@ Import Namespace="SessionBusiness" %>
    
    <!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 id="Head1" runat="server">
        <title></title>
    </head>
    <body>
        
        
        
    
        <form id="form1" runat="server">
            
        <ext:ResourceManager ID="ResourceManager1" runat="server" />
        <div>
            <ext:Viewport ID="Viewport1" runat="server" Margin="10" Layout="fit" >
            <Items>
                <ext:Panel runat="server" Padding="10" ID="rootPanel" Frame="False" Border="false" BodyBorder="0" AutoScroll="True">
                    <LayoutConfig>
                        <ext:VBoxLayoutConfig runat="server" Align="Stretch" />
                    </LayoutConfig>
                    
                    <Items>
                        <ext:FormPanel runat="server" Border="False" ID="trForm" Margins="10">
                            <LayoutConfig>
                                <ext:VBoxLayoutConfig Align="Left"/>
                            </LayoutConfig>
                            <Items>
                                <ext:Panel ID="Panel1" runat="server" Frame="True" Width="450" StyleSpec="margin-bottom:10px" >
                                    <LayoutConfig>
                                        <ext:VBoxLayoutConfig runat="server" Align="Stretch"/>
                                    </LayoutConfig>
                                    
                                    <Items>
                                        <ext:ComboBox runat="server" ID="ddlBillingCode" FieldLabel="Billing Code" AllowBlank="False" IndicatorIcon="BulletRed" EmptyText="Fill value" MsgTarget="Under" />
                                        
                                        
                                    </Items>
                                </ext:Panel>
    
                                
    
                                <ext:Container runat="server" Border="False" ID="companyPanel">
                                    <LayoutConfig>
                                        <ext:HBoxLayoutConfig runat="server" />
                                    </LayoutConfig>
                                    <Items>
                                        
                                        <ext:FieldSet ID="FieldSet1" runat="server" Title="Dest Company">
                                            <LayoutConfig>
                                                <ext:VBoxLayoutConfig Align="Left"/>
                                            </LayoutConfig>
                                            <Items>
                                                <ext:FieldContainer ID="CompositeField1" runat="server" >
                                                    <LayoutConfig>
                                                        <ext:HBoxLayoutConfig runat="server" />
                                                    </LayoutConfig>
                                                    <Items>
                                                        <ext:ComboBox runat="server" ID="ddlDestCompany" AllowAddItems="true"
                                                            FieldLabel="Company"  AllowBlank="False" Width="350" IndicatorIcon="BulletRed" EmptyText="Fill value" MsgTarget="Under" />
                                                        <ext:Button runat="server" Text="Edit" ID="btnEditDestinationCompany"/>
                                                    </Items>
                                                </ext:FieldContainer>
                                                <ext:ComboBox runat="server" ID="ddlDestContact" FieldLabel="Contact" Width="350"
                                                    AllowBlank="False" IndicatorIcon="BulletRed" EmptyText="Fill value" MsgTarget="Under" />
                                            </Items>
                                        </ext:FieldSet>
                                        
                                        <ext:FieldSet ID="FieldContainer1" runat="server" Title="PU Company" Margins="0 10 0 10" >
                                    <Items>
                                        <ext:Container ID="Container1" runat="server">
                                            <LayoutConfig>
                                                <ext:VBoxLayoutConfig Align="Left"/>
                                            </LayoutConfig>
                                        
                                            <Items>
                                                <ext:FieldContainer ID="FieldContainer2" runat="server" >
                                                    <LayoutConfig>
                                                        <ext:HBoxLayoutConfig runat="server" />
                                                    </LayoutConfig>
                                                    <Items>
                                                        <ext:ComboBox runat="server" ID="ddlPuCompany"  AllowAddItems="true"
                                                            FieldLabel="Company" AllowBlank="False" Width="350" IndicatorIcon="BulletRed" EmptyText="Fill value" MsgTarget="Under" />
                                                        <ext:Button runat="server" Text="Edit" ID="btnEditOriginCompany" />
                                                    </Items>
                                                </ext:FieldContainer>
                                                
                                                <ext:ComboBox runat="server" ID="ddlPuContact" FieldLabel="Contact" AllowBlank="False" Width="350" IndicatorIcon="BulletRed" EmptyText="Fill value" MsgTarget="Under" />
                                            </Items>
                                        </ext:Container>
                                    </Items>
                                </ext:FieldSet>
                                    </Items>
                                </ext:Container>
                            </Items>
                        </ext:FormPanel>
                        <ext:GridPanel runat="server" ID="dgvItems" Title="" 
                               AutoHeight="True" MinHeight="30" >
                            <Store>
                                <ext:Store ID="Store1" runat="server">
                                    <Reader>
                                        <ext:JsonReader runat="server"/>
                                    </Reader>
                                    <Model>
                                        <ext:Model IDProperty="ItemGuid">
                                            <Fields>
                                                <ext:ModelField Name="ItemGuid" Type="string" />
                                                <ext:ModelField Name="ComodityId" Type="int" UseNull="True" />
                                                <ext:ModelField Name="ComodityName" Type="String" />
                                                <ext:ModelField Name="ComodityDisplayName" Type="String" />
                                                
                                            </Fields>
                                        </ext:Model>
                                    </Model>
                                </ext:Store>
                            </Store>
                            <ColumnModel>
                                <Columns>
                                    <ext:Column Header="Commodity" DataIndex="ComodityDisplayName" Flex="1" />
                                    
                                </Columns>
                            </ColumnModel>
                            
                        </ext:GridPanel>
                    </Items>
                    
                </ext:Panel>
                </Items>
            </ext:Viewport>
        </div>
        </form>
    </body>
    </html>
    Last edited by Daniil; Aug 23, 2012 at 1:07 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Any IE compatibility modes are not officially supported.

    But the issue appears to be reproducible in IE7. It caused by the combination of VBoxLayout and IndicatorIcon.

    Previously, there was a requirement in Ext.NET v1: Indicator must be used within the FormLayout only. I am not sure this requirement was gone away. I will discuss it with my colleagues. I will back with an update.

    Here is an example to reproduce.

    Example
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
     
    <!DOCTYPE html>
     
    <html>
    <head runat="server">
        <title>Ext.NET v2 Example</title>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
        
        <ext:Panel ID="Panel1" runat="server" Width="500">
            <LayoutConfig>
                <ext:VBoxLayoutConfig Align="Stretch" />
            </LayoutConfig>
            <Items>
                <ext:ComboBox runat="server" IndicatorIcon="BulletRed" />
            </Items>
        </ext:Panel>
    
        <ext:Button runat="server" Text="doLayout">
            <Listeners>
                <Click Handler="App.Panel1.doLayout();" />
            </Listeners>
        </ext:Button>
    </body>
    </html>
  3. #3
    The issue has been fixed in SVN 2.1 branch.

    I think it should also work in compatibility mode.
  4. #4
    Quote Originally Posted by Daniil View Post
    The issue has been fixed in SVN 2.1 branch.

    I think it should also work in compatibility mode.
    Hello
    I tried to access svn using my account and the authentication failed.
    I thought I do have access to it, no?

    thanks
  5. #5
    There are different credentials for the forums and SVN.

    Since you are an owner of Premium Support Subscription you have an access to SVN. The SVN credentials had to be emailed to you when you got Premium Support Subscriptions. Please check the Inbox. If it is lost, please send a request with your forum name to
    support@object.net
  6. #6
    Ok
    thanks for explanation
    I updated the svn build locally and it works
    now - is it safe to use the svn version in production?
    or youwould rather recomend to stay with the old one?
    Is there any release of 2.1 planned soon?
  7. #7
    Quote Originally Posted by aisi_it_admin View Post
    now - is it safe to use the svn version in production?
    or youwould rather recomend to stay with the old one?
    Well, someone prefers to update from SVN, someone prefers to use the releases only. Also it tightly depends on the project and the requirements. We can't recommend you to update or not without good knowledge of these things.

    There is always some possibility that SVN commits can change or, even, break some functionality in an application. So, each update from SVN would require test iteration, reviewing of the SVN changes and, possibly, some investigating and then changes in your code. If you have well-organized UNIT testing or/and a project is just small, then you could not afraid it too much.

    I know someones on the forums who does often update from SVN and someones who prefers to use the releases only.

    Also I should say that, currently, there is a lot of changes between 2.0 and 2.1. Mainly, it is bug fixes and MVC support improvements.

    Quote Originally Posted by aisi_it_admin View Post
    Is there any release of 2.1 planned soon?
    Please look at Next releases? here:
    http://ext.net/download

    Though, I think, it will be delayed. Hopefully, a bit.

Similar Threads

  1. Ext.Net compatability problem
    By Mr.Techno in forum 1.x Help
    Replies: 5
    Last Post: Oct 18, 2011, 5:18 AM
  2. Replies: 0
    Last Post: May 02, 2010, 2:46 AM
  3. [CLOSED] Ext.Net 1.0 using II 7.0 Integrated Mode.
    By Zarzand in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Mar 25, 2010, 6:55 PM
  4. Replies: 1
    Last Post: May 13, 2009, 11:23 AM

Posting Permissions