[CLOSED] Window with URL to PDF stuck on "Loading"

  1. #1

    [CLOSED] Window with URL to PDF stuck on "Loading"

    We have recently moved to a new server and are experiencing a new bug. This bug seems to be related the grid panel, but we are not sure.

    The bug itself happens when we try to open a new window using a URL to a PDF on the server. The PDF opens, we can see it grayed out, but the "loading" sign is still there. The window contents remain disabled, meaning that we cannot even scroll. We can close the window.

    Here is an example of how we initialize the new window and display it:

     var win = new Ext.Net.Window()
            {
                ID = "newDocument",
                Title = cmdTitle,
                Width = Unit.Pixel(1000),
                Height = Unit.Pixel(600),
                Modal = true,
                Collapsible = false,
                Maximizable = true,
    
                BodyStyle = "padding:10px;",
                AnimateTarget = "btnPDF",
                Icon = Icon.PageWhiteAcrobat,
                Loader = new ComponentLoader
                {
                    Url = cmdUrl,
                    Mode = LoadMode.Frame,
                    LoadMask = { ShowMask = true }
                }
            };
    This bug seems to only happen when we create a new window to the PDF file from a gridpanel

    EDIT: This only happens when we are running from the new server environment. This issues cannot be duplicated on a workstation.

    We are not sure what is causing this.
    Last edited by Daniil; Sep 10, 2013 at 5:28 AM. Reason: [CLOSED]
  2. #2
    Try to set MonitorComplete=true for Loader
    PDF loading doesn't fire load event therefore mask is not hidden
  3. #3
    Unfortunately this does not work. We still have the same issue. Is there anything on the back end that could be causing this?
  4. #4
    Well, PDF document is not html page therefore we cannot track its loading because it doesn't produce events
    What about to open pdf in seperate browser window?

Similar Threads

  1. Replies: 6
    Last Post: May 31, 2013, 3:04 AM
  2. [CLOSED] Problem to use property "Maximized" from "Window"
    By avante in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 22, 2013, 12:47 AM
  3. [CLOSED] How does "MaskCls" work for "AutoLoad" mask in panel control
    By leon_tang in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jul 19, 2012, 12:09 PM
  4. Replies: 5
    Last Post: May 02, 2012, 5:37 PM
  5. Replies: 4
    Last Post: Oct 11, 2011, 2:42 AM

Posting Permissions