Opening a window with an external page via JavaScript shows a blank page, raw HTML work though

  1. #1

    Opening a window with an external page via JavaScript shows a blank page, raw HTML work though

    Hi, I'm able to load external pages inside a window when I use html components but when using Ext.Net components the window displays blank, could you please take a quick look at the code snippet bellow?
    I can load just the external page on the browser and it displays my Ext.Net components without a problem.
    I'm using Ext.Net 2.3.
    Thanks

    new Ext.Window({
                    id: "wndExternal",
                    title: "External",
                    width: 640,
                    height: 480,
                    maximizable: false,
                    minimizable: false,
                    resizable: false,
                    modal: true,
                    closeAction: 'close',
                    autoLoad: {
                        url: "externalwindow.aspx", mode: "iframe", showMask: true
                    }
                });
    Last edited by geoffrey.mcgill; Feb 03, 2014 at 8:58 PM. Reason: Please use [CODE] tags
  2. #2
    Your script is incorrect
    If you not sure what script need to use then just create widget in aspx, run the page and see generated script
  3. #3
    Quote Originally Posted by Vladimir View Post
    Your script is incorrect
    If you not sure what script need to use then just create widget in aspx, run the page and see generated script
    Hi Vladmir, thanks for point out that the script is no good, in fact it used to work with older versions of Ext that I played with.
    Here's a good script for ExtJs4 that I just found:

    new Ext.Window({
        title : "iframe",
        width : 300,
        height: 300,
        layout : 'fit',
        items : [{
            xtype : "component",
            autoEl : {
                tag : "iframe",
                src : "http://www.yahoo.com"
            }
        }]
    }).show();

Similar Threads

  1. [CLOSED] Ext.net 2.2 deploy on windows 7 32 bit shows blank page in IE
    By snow_cap in forum 2.x Legacy Premium Help
    Replies: 9
    Last Post: Nov 19, 2013, 4:58 PM
  2. [CLOSED] Force a external Page to open in a Window
    By Peter.Treier in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 13, 2013, 10:02 AM
  3. [CLOSED] Loading External Page in Ext.Window is not working
    By Tarun_Chand in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Apr 04, 2013, 1:06 PM
  4. Loading External page to window Problem
    By alpeter in forum 1.x Help
    Replies: 0
    Last Post: Jan 17, 2013, 12:48 PM
  5. Replies: 2
    Last Post: May 05, 2010, 10:23 AM

Posting Permissions