[CLOSED] Compatibility in IE 7

  1. #1

    [CLOSED] Compatibility in IE 7

    Hi,

    I am using IE7. I have added two screenshots in attachments. You see that a gridpanel in page(scr_page.jpg) correctly but it is not correct form in window page (scr_window.jpg).

    What is the reason of this problem? Does Ext.net support IE7?

    Thanks in advance

    please try this code. With FieldLabel is empty and anything else in IE7

    <ext:GridPanel ID="grdTalepTuru" runat="server" Height="100" Width="200" StoreID="Store2">
                            <ColumnModel>
                                <Columns>
                                    <ext:Column ColumnID="col1" DataIndex="TalepTuruKod" Hidden="true">
                                    </ext:Column>
                                    <ext:Column ColumnID="col2" DataIndex="TalepTuru" Header="" Width="150">
                                    </ext:Column>
                                    <ext:Column ColumnID="col3" DataIndex="TalepTipiKod" Header="" Width="150" Hidden="true">
                                    </ext:Column>
                                </Columns>
                            </ColumnModel>
                        </ext:GridPanel>
    Attached Thumbnails Click image for larger version. 

Name:	scr_page.JPG 
Views:	87 
Size:	47.5 KB 
ID:	4204   Click image for larger version. 

Name:	scr_window.JPG 
Views:	81 
Size:	40.5 KB 
ID:	4205  
    Last edited by Daniil; May 11, 2012 at 4:36 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Does Ext.net support IE7?
    Yes, it's still supported.

    I would recommend to use FieldLabel in the container with FormLayout only. You will get more consistent result in all browsers, especially, in IE.

    So, please set up
    Layout="FormLayout"
    for the GridPanel container.
  3. #3

    height problem

    The problem still continues.

    Please try this. There is a height problem of the gridpanel. screenshot is added in attachment.

    Thanks.

    <ext:GridPanel ID="GridPanel1" runat="server" Height="500" Width="300" StoreID="Store2" Layout="FormLayout" FieldLabel="Talep Türü*"
                    LabelWidth="100">
                    <ColumnModel>
                        <Columns>
                            <ext:Column ColumnID="col1" DataIndex="TalepTuruKod" Hidden="true">
                            </ext:Column>
                            <ext:Column ColumnID="col2" DataIndex="TalepTuru" Header="" Width="150">
                            </ext:Column>
                            <ext:Column ColumnID="col3" DataIndex="TalepTipiKod" Header="" Hidden="true">
                            </ext:Column>
                        </Columns>
                    </ColumnModel>
                    </ext:GridPanel>
    Attached Thumbnails Click image for larger version. 

Name:	ss_height.JPG 
Views:	73 
Size:	4.0 KB 
ID:	4210  
  4. #4
    I am unable to reproduce using the example below.

    Please provide a full example.

    Example
    <%@ 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)
            {
                Store store = this.GridPanel1.GetStore();
                store.DataSource = new object[] 
                { 
                    new object[] { "test1", "test2", "test3" },
                    new object[] { "test4", "test5", "test6" },
                    new object[] { "test7", "test8", "test9" },
                };
                store.DataBind();
            }
        }
    </script>
    
    <!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>Ext.NET Example</title>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
            <ext:Container runat="server" Layout="FormLayout">
                <Items>
                    <ext:GridPanel 
                        ID="GridPanel1" 
                        runat="server" 
                        Height="300" 
                        FieldLabel="FieldLabel">
                        <Store>
                            <ext:Store runat="server">
                                <Reader>
                                    <ext:ArrayReader>
                                        <Fields>
                                            <ext:RecordField Name="test1" />
                                            <ext:RecordField Name="test2" />
                                            <ext:RecordField Name="test3" />
                                        </Fields>
                                    </ext:ArrayReader>
                                </Reader>
                            </ext:Store>
                        </Store>
                        <ColumnModel runat="server">
                            <Columns>
                                <ext:Column Header="Test1" DataIndex="test1" />
                                <ext:Column Header="Test2" DataIndex="test2" />
                                <ext:Column Header="Test3" DataIndex="test3" />
                            </Columns>
                        </ColumnModel>
                    </ext:GridPanel>
                </Items>
            </ext:Container>
        </form>
    </body>
    </html>

Similar Threads

  1. [CLOSED] IE 9.0 Compatibility
    By IanPearce in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 01, 2011, 10:25 PM
  2. ie 6 compatibility
    By pierluigiM in forum 1.x Help
    Replies: 1
    Last Post: Nov 25, 2010, 9:09 AM
  3. [CLOSED] IE compatibility mode
    By RomualdAwessou in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 14, 2010, 7:55 PM
  4. [CLOSED] IE 7 Compatibility
    By dheeraj_us in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Jul 28, 2010, 9:10 PM
  5. [CLOSED] Compatibility with IE6
    By VALUELAB in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 29, 2009, 10:09 AM

Tags for this Thread

Posting Permissions