Issue in Internet Explorer displaying a window on top of a pdf that is loaded into a panel

  1. #1

    Issue in Internet Explorer displaying a window on top of a pdf that is loaded into a panel

    I want to display a pdf inside my page and am using the following to accomplish that:

    viewport.Add(Html.X().Panel()
        ...
        .Loader(new ComponentLoader{Url = "/relativepath.pdf", Mode = LoadMode.Frame})
    );
    Doing some things on the page displays a window, and when this window is up, I want to gray out the rest of the page. This works fine in Chrome and Firefox:
    Click image for larger version. 

Name:	chrome.png 
Views:	28 
Size:	51.5 KB 
ID:	5931

    But in Internet Explorer, the pdf is not grayed-out and it shows on top of the window:
    Click image for larger version. 

Name:	IE.png 
Views:	29 
Size:	74.8 KB 
ID:	5932

    How can I fix this?
  2. #2
    Hello!

    Unfortunately, this is default behavior of IE and PDF view plugin. Following thread should help you: http://stackoverflow.com/questions/593176/
  3. #3
    I see, thanks.

    But everything on my page is inside one viewport, and I'm using razor. I'm not sure how I can split it up using <div>s, as the thread you linked to suggests.
  4. #4
    As a temporary solution, I'm just hiding the whole panel that contains the pdf when the dialog appears.

    Any tips on a more elegant solution would be appreciated.

Similar Threads

  1. [CLOSED] Tab panel problem in Internet Explorer 8
    By pdcase in forum 1.x Legacy Premium Help
    Replies: 18
    Last Post: Jan 19, 2012, 11:53 AM
  2. [CLOSED] MenuAlign issue in Internet Explorer
    By ljcorreia in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 23, 2011, 4:14 PM
  3. [CLOSED] el.setSize Issue Internet Explorer
    By tjbishop in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Sep 10, 2010, 6:20 PM
  4. Panel not resizing in Internet Explorer 6
    By dbassett74 in forum 1.x Help
    Replies: 3
    Last Post: May 29, 2009, 12:46 PM
  5. [CLOSED] internet explorer cannot open the internet site
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 28, 2009, 10:30 AM

Tags for this Thread

Posting Permissions