6 Replies Latest reply on Dec 5, 2008 1:10 AM by (Chris123)

    Activereports using PDF  viewer with  ASP.NET menu

      I am not sure if this forum is the right place to ask for this type of problem but i dont know where else should i ask...

      We are using Active reports components, that actually convert some type of data to pdf format and display it by clients PDF document viewer(IE6,IE7 in our case).This works fine.

      Problem is, that this pdf document overrides our asp.net menu (menu appears below the document, which looks really bad ..)
      (z-index is set properly)

      You can see the screnshot and ActiveReports team answer here in the Active Reports forum
      http://www.datadynamics.com/forums/118407/ShowPost.aspx

      Does anybody know some workaround for this ?
        • 1. Re: Activereports using PDF  viewer with  ASP.NET menu
          Jakub,

          I too am struggling with this problem. There is an easy solution for IE on Windows which is to use popup windows. I've also got an iframe based solution working on IE and Firefox, but Safari is proving to be my undoing. Let me know if you make any progress.

          Chris
          • 2. Re: Activereports using PDF  viewer with  ASP.NET menu
            Level 1
            Chris,
            Could you decribe the iframe based solution a little bit ?
            Since our target browser is only IE6, IE6 we dont have to care about Safari...

            And I am affraid that we cannot use popup window for every print page in our project.

            How did you solved the problem ? Do you use popups or iframes ?

            Thanx for the answer, i appreciate your help.
            • 3. Re: Activereports using PDF  viewer with  ASP.NET menu
              Level 1
              Jakub,

              I'll try and paste some html for you to play with, and hope that the forum doesn't re-format it.

              **********************************************













              Stuff on top of PDF

              Stuff on top of PDF

              Stuff on top of PDF

              Stuff on top of PDF

              Stuff on top of PDF








              **********************************************

              Cheers,

              Chris
              • 4. Re: Activereports using PDF  viewer with  ASP.NET menu
                Level 1
                Jakub,

                I'll try and paste some html for you to play with, and hope that the forum doesn't re-format it.

                -----------------------------------------------------------

                < html>
                < head>
                < title>Embedded PDF Problem< /title>

                < /head>
                < body>

                < !-- PDF file to go underneath another object -->
                < iframe id="pdf" name="pdf" style="position:absolute; left:200px; top:200px; width:150px;
                height:150px; background-color:red; z-index:1;" src="http://www.adobe.com/products/acrobat/pdfs/pdfaccess.pdf">< /iframe>

                < !-- element you want to show on top -->
                < div style="position:absolute; left:100px; top:100px; width:150px;
                height:150px; background-color:green; z-index:10;">
                Stuff on top of PDF< br/>
                Stuff on top of PDF< br/>
                Stuff on top of PDF< br/>
                Stuff on top of PDF< br/>
                Stuff on top of PDF< br/>
                < /div>
                < !-- put this directly behind (z-index) the element you want to show up; notice the z-index -->
                < iframe id="content" name="content" style="position:absolute; left:100px; top:100px; width:150px;
                height:150px; z-index:9; background-color:blue;" src="about:blank">< /iframe>

                < /body>
                < /html>

                -----------------------------------------------------------

                Cheers,

                Chris
                • 5. Re: Activereports using PDF  viewer with  ASP.NET menu
                  Can Adobe provide a tag similar to wmode="opaque" that can be found in Flash?

                  Cheers

                  Audrey
                  • 6. Re: Activereports using PDF  viewer with  ASP.NET menu
                    Level 1
                    Presumably, although I think it may have been Macromedia that owned Flash at the time that attribute was introduced. It's very useful and would be the ideal solution. If only Adobe read their own forums ;-)

                    Chris