[CLOSED] Ext.net 2.2 deploy on windows 7 32 bit shows blank page in IE

  1. #1

    [CLOSED] Ext.net 2.2 deploy on windows 7 32 bit shows blank page in IE

    Dears,

    I deployed my ext.net 2.2 application on windows 7 32 bit,sadly whenever i try to open the application in IE 8 or 9 it displays a blank page and when right clicking view source on the page it shows a div of id "aspnethidden".

    However,opening the application in google chrome it works.

    Everything is configured properly like classic application pool asp.net 4.0 ,httpmodules and httphandlers and ext.net assembly is registered on the web.config.

    Any ideas why the page isn't being rendered in IE?
    Last edited by Daniil; Nov 26, 2013 at 7:22 AM. Reason: [CLOSED]
  2. #2
    when right clicking view source on the page it shows a div of id "aspnethidden".
    Can you post generated html here?
    Vladimir Shcheglov
    Sr. Developer
  3. #3
    Sorry for the late reply

    The html code :
     
    <!DOCTYPE html>
     
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <link type="text/css" rel="stylesheet" href="/WebDnaInventory/extjs/resources/ext_theme_classic/ext-theme-classic-all-rtl-embedded-css/ext.axd?v=0" id="ext-theme" />
        <link type="text/css" rel="stylesheet" href="/WebDnaInventory/extnet/resources/css/extnet-all-embedded-css/ext.axd?v=0" id="extnet-styles" />
        <script type="text/javascript" src="/WebDnaInventory/extjs/ext-all-rtl-js/ext.axd?v=0"></script>
        <script type="text/javascript" src="/WebDnaInventory/extnet/extnet-all-js/ext.axd?v=0"></script>
     
        <title></title>
       
        <style>
            .Customer
            {
                background-image: url(images/customer.png) !important;
            }
     
            .Employee
            {
                background-image: url(images/Employees.png) !important;
            }
     
            .Supplier
            {
                background-image: url(images/Supplier.png) !important;
            }
     
            .Product
            {
                background-image: url(images/Product.png) !important;
            }
     
            .Stock
            {
                background-image: url(images/Stock.png) !important;
            }
     
            .Work
            {
                background-image: url(images/Truck.png) !important;
            }
     
            .Report
            {
                background-image: url(images/Report.png) !important;
            }
               .EmployeeReport
            {
                background-image: url(images/EmployeeReport.png) !important;
            }
            .WorkShop
            {
                background-image: url(images/WorkShop.png) !important;
            }
               .WorkinDays
            {
                background-image: url(images/WorkingDays.png) !important;
            }
           
        </style>
        <script>
            var menuItemClick = function (menu, item) {
     
                App.PanelMain.load({
                    url: 'Grid.aspx?Type=' + menu.tag,
                    nocache: true,
                    timeout: 30,
                    scripts: true
                });
            };
            var menuItemClickWork = function (menu, item) {
     
                App.PanelMain.load({
                    url: 'AddCustomerTransactions.aspx?',
                    nocache: true,
                    timeout: 30,
                    scripts: true
                });
            };
            function OpenReport() {
                window.open("WorkReport.aspx", '_blank');
            }
            function OpenEmployeeReport() {
                window.open("EmployeesReport.aspx", '_blank');
            }
        </script>
     
        <script type="text/javascript">
        //<![CDATA[
            Ext.net.ResourceMgr.init({"id":"ctl02","aspForm":"form1","appName":"WebDnaInventory","rtl":true});Ext.onReady(function(){Ext.create("Ext.net.Viewport",{"rtl":true,"renderTo":Ext.get("form1"),"items":[{"id":"PanelMain","loader":{"renderer":"frame","url":"blank.aspx"},"layout":"fit","tbar":{"xtype":"toolbar","items":[{"id":"ButtonGroup1","xtype":"buttongroup","items":[{"id":"Button1","tag":"Customers","cls":"x-btn-as-arrow","iconAlign":"top","iconCls":"Customer","scale":"large","text":"الزبائن","listeners":{"click":{"fn":menuItemClick}}},{"id":"Button2","tag":"Employees","cls":"x-btn-as-arrow","iconAlign":"top","iconCls":"Employee","scale":"large","text":"الموظفين","listeners":{"click":{"fn":menuItemClick}}},{"id":"Button3","tag":"Products","cls":"x-btn-as-arrow","iconAlign":"top","iconCls":"Product","scale":"large","text":"المنتجات","listeners":{"click":{"fn":menuItemClick}}},{"id":"Button4","tag":"Suppliers","cls":"x-btn-as-arrow","hidden":true,"iconAlign":"top","iconCls":"Supplier","scale":"large","text":"الموردون","listeners":{"click":{"fn":menuItemClick}}},{"id":"Button5","tag":"Stock","cls":"x-btn-as-arrow","iconAlign":"top","iconCls":"Stock","scale":"large","text":"البضاعة","listeners":{"click":{"fn":menuItemClick}}},{"id":"Button11","tag":"StockOut","cls":"x-btn-as-arrow","iconAlign":"top","iconCls":"Stock","scale":"large","text":"بيع البضاعة","listeners":{"click":{"fn":menuItemClick}}},{"id":"Button7","tag":"WorkShop","cls":"x-btn-as-arrow","iconAlign":"top","iconCls":"WorkShop","scale":"large","text":"الورشة","listeners":{"click":{"fn":menuItemClick}}},{"id":"Button6","tag":"Work","cls":"x-btn-as-arrow","iconAlign":"top","iconCls":"Work","scale":"large","text":"عمل","listeners":{"click":{"fn":menuItemClick}}},{"id":"Button9","tag":"WorkingDays","cls":"x-btn-as-arrow","iconAlign":"top","iconCls":"WorkinDays","scale":"large","text":"الحضور الى العمل","listeners":{"click":{"fn":menuItemClick}}},{"id":"Button8","tag":"Report","cls":"x-btn-as-arrow","iconAlign":"top","iconCls":"Report","scale":"large","text":"التقارير","listeners":{"click":{"fn":function(item,e){OpenReport()}}}},{"id":"Button10","tag":"EmployeeReport","cls":"x-btn-as-arrow","iconAlign":"top","iconCls":"EmployeeReport","scale":"large","text":"تقارير الموظفين","listeners":{"click":{"fn":function(item,e){OpenEmployeeReport()}}}}],"title":"القائمة","columns":10}]}}],"layout":"fit"});});
        //]]>
        </script>
    </head>
    <body>
        <form method="post" action="main.aspx" id="form1">
    <div class="aspNetHidden">
     
    </div>
     
     
     
     
           
           
     
        </form>
    </body>
    </html>
  4. #4
    Do you have any javascript errors in the browser console?
    Vladimir Shcheglov
    Sr. Developer
  5. #5
    Nope already checked that nothing.On google chrome and firefox it opens normally.
  6. #6
    Quote Originally Posted by snow_cap View Post
    when right clicking view source on the page it shows a div of id "aspnethidden".
    Could you, please, post that view source?

    Maybe, there is some IE security option turned on which causes such the behavior?
  7. #7
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="WebDnaInventory.Mains" %><%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html>
    
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
        <style>
            .Customer
            {
                background-image: url(images/customer.png) !important;
            }
    
    
            .Employee
            {
                background-image: url(images/Employees.png) !important;
            }
    
    
            .Supplier
            {
                background-image: url(images/Supplier.png) !important;
            }
    
    
            .Product
            {
                background-image: url(images/Product.png) !important;
            }
    
    
            .Stock
            {
                background-image: url(images/Stock.png) !important;
            }
    
    
            .Work
            {
                background-image: url(images/Truck.png) !important;
            }
    
    
            .Report
            {
                background-image: url(images/Report.png) !important;
            }
               .EmployeeReport
            {
                background-image: url(images/EmployeeReport.png) !important;
            }
            .WorkShop
            {
                background-image: url(images/WorkShop.png) !important;
            }
               .WorkinDays
            {
                background-image: url(images/WorkingDays.png) !important;
            }
            
        </style>
        <script>
            var menuItemClick = function (menu, item) {
    
    
                App.PanelMain.load({
                    url: 'Grid.aspx?Type=' + menu.tag,
                    nocache: true,
                    timeout: 30,
                    scripts: true
                });
            };
            var menuItemClickWork = function (menu, item) {
    
    
                App.PanelMain.load({
                    url: 'AddCustomerTransactions.aspx?',
                    nocache: true,
                    timeout: 30,
                    scripts: true
                });
            };
            function OpenReport() {
                window.open("WorkReport.aspx", '_blank');
            }
            function OpenEmployeeReport() {
                window.open("EmployeesReport.aspx", '_blank');
            }
        </script>
    </head>
    <body>
        <form id="form1" runat="server">
            <ext:ResourceManager runat="server"></ext:ResourceManager>
            <ext:Viewport runat="server" RTL="True" Layout="Fit">
                <Items>
                    <ext:Panel runat="server" ID="PanelMain" Layout="Fit">
                        <TopBar>
                            <ext:Toolbar runat="server">
                                <Items>
                                    <ext:ButtonGroup ID="ButtonGroup1" runat="server" Title="Menus" Columns="10">
                                        <Items>
                                            <ext:Button ID="Button1"
                                                runat="server"
                                                Text="Customers"
                                                IconCls="Customer"
                                                Scale="Large"
                                                IconAlign="Top"
                                                Cls="x-btn-as-arrow"
                                                TagString="Customers">
                                                <Listeners>
                                                    <Click Fn="menuItemClick"></Click>
                                                </Listeners>
                                            </ext:Button>
    
    
                                            <ext:Button ID="Button2"
                                                runat="server"
                                                Text="Employees"
                                                IconCls="Employee"
                                                Scale="Large"
                                                IconAlign="Top"
                                                Cls="x-btn-as-arrow"
                                                TagString="Employees">
                                                <Listeners>
                                                    <Click Fn="menuItemClick"></Click>
                                                </Listeners>
                                            </ext:Button>
                                            <ext:Button ID="Button3"
                                                runat="server"
                                                Text="Products"
                                                IconCls="Product"
                                                Scale="Large"
                                                IconAlign="Top"
                                                Cls="x-btn-as-arrow"
                                                TagString="Products">
                                                <Listeners>
                                                    <Click Fn="menuItemClick"></Click>
                                                </Listeners>
                                            </ext:Button>
                                            <ext:Button ID="Button4"
                                                runat="server"
                                                Text="Suppliers"
                                                IconCls="Supplier"
                                                Scale="Large"
                                                IconAlign="Top" Hidden="True"
                                                Cls="x-btn-as-arrow"
                                                TagString="Suppliers">
                                                <Listeners>
                                                    <Click Fn="menuItemClick"></Click>
                                                </Listeners>
                                            </ext:Button>
                                            <ext:Button ID="Button5"
                                                runat="server"
                                                Text="Stock"
                                                IconCls="Stock"
                                                Scale="Large"
                                                IconAlign="Top"
                                                Cls="x-btn-as-arrow"
                                                TagString="Stock">
                                                <Listeners>
                                                    <Click Fn="menuItemClick"></Click>
                                                </Listeners>
                                            </ext:Button>
                                                 <ext:Button ID="Button11"
                                                runat="server"
                                                Text="Stock Out"
                                                IconCls="Stock"
                                                Scale="Large"
                                                IconAlign="Top"
                                                Cls="x-btn-as-arrow"
                                                TagString="StockOut">
                                                <Listeners>
                                                    <Click Fn="menuItemClick"></Click>
                                                </Listeners>
                                            </ext:Button>
                                            <ext:Button ID="Button7"
                                                runat="server"
                                                Text="WorkShop"
                                                IconCls="WorkShop"
                                                Scale="Large"
                                                IconAlign="Top"
                                                Cls="x-btn-as-arrow"
                                                TagString="WorkShop">
                                                <Listeners>
                                                    <Click Fn="menuItemClick"></Click>
                                                </Listeners>
                                            </ext:Button>
                                            <ext:Button ID="Button6"
                                                runat="server"
                                                Text="Work"
                                                IconCls="Work"
                                                Scale="Large"
                                                IconAlign="Top"
                                                Cls="x-btn-as-arrow"
                                                TagString="Work">
                                                <Listeners>
                                                    <Click Fn="menuItemClick"></Click>
                                                </Listeners>
                                            </ext:Button>
                                                  <ext:Button ID="Button9"
                                                runat="server"
                                                Text="Employees Working Days"
                                                IconCls="WorkinDays"
                                                Scale="Large"
                                                IconAlign="Top"
                                                Cls="x-btn-as-arrow"
                                                TagString="WorkingDays">
                                                <Listeners>
                                                   <Click Fn="menuItemClick"></Click>
                                                </Listeners>
                                            </ext:Button>
                                            <ext:Button ID="Button8"
                                                runat="server"
                                                Text="Report"
                                                IconCls="Report"
                                                Scale="Large"
                                                IconAlign="Top"
                                                Cls="x-btn-as-arrow"
                                                TagString="Report">
                                                <Listeners>
                                                    <Click Handler="OpenReport()"></Click>
                                                </Listeners>
                                            </ext:Button>
                                                    <ext:Button ID="Button10"
                                                runat="server"
                                                Text="Employees Report"
                                                IconCls="EmployeeReport"
                                                Scale="Large"
                                                IconAlign="Top"
                                                Cls="x-btn-as-arrow"
                                                TagString="EmployeeReport">
                                                <Listeners>
                                                    <Click Handler="OpenEmployeeReport()"></Click>
                                                </Listeners>
                                            </ext:Button>
    
    
                                        </Items>
                                    </ext:ButtonGroup>
                                </Items>
    
    
                            </ext:Toolbar>
                        </TopBar>
                        <Loader Url="blank.aspx" Mode="Frame" runat="server"></Loader>
                    </ext:Panel>
                </Items>
            </ext:Viewport>
    
    
        </form>
    </body>
    </html>
  8. #8
    Thank you, but this is not:
    when right clicking view source on the page it shows a div of id "aspnethidden".
  9. #9
    yeah i posted that before it is

    <body>    <form method="post" action="main.aspx" id="form1">
    <div class="aspNetHidden">
      
    </div>
      
      
      
      
            
            
      
        </form>
    </body>
  10. #10
    Could you share the test case online, please?

    We have to reproduce it to help you.

Similar Threads

  1. Replies: 1
    Last Post: Mar 26, 2013, 9:46 AM
  2. IE9 Blank Page after deployment
    By softmachine2011 in forum 2.x Help
    Replies: 2
    Last Post: Sep 28, 2012, 8:40 AM
  3. Blank page on IIS 7
    By mercede75 in forum 1.x Help
    Replies: 0
    Last Post: Apr 18, 2012, 7:32 AM
  4. IE9 Blank Page
    By Dominik in forum 1.x Help
    Replies: 7
    Last Post: Oct 19, 2011, 9:57 AM
  5. Blank Page at IE
    By fren21 in forum 1.x Help
    Replies: 4
    Last Post: Jul 27, 2009, 10:55 PM

Posting Permissions