Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Printing problem, when the aspx page gets to the client browser it doesn't send the webserver name instead use the server computer name
posted

This reports are designed with Infragistics 14.1 under ASP.NET 4.5.

This is one of the reports url:  http://www.internetmexico.net/ammvepe/2015/webadmon/eventocongreso/administracion/ReporteInfra02.aspx

When the page is rendered in the server it sends to the client a diferent URL, it sends the server computer name not the webserver name, so this make impossible to PRINT o EXPORT the report on the client

How can I make the server sends the webserver name, so the client can download the Reportservice.svc and be able to pirnt o EXPORT the report?

Please help with this problem.

Thanks for your attention

Luis E Jimenez R

  • 60
    posted

    Hi,

    Thanks for your attention to my post.

    At the moment I have resolve the problem. What I did was to create a binding to the 80 port in IIS to the domain I need for the Reportservice.svc.

    But now, I can see that using Google Chrome doesn't show the print option, either on a Windows PC or OX IMAC

    Please let me know any ideas how to resolve this problem

    Thank your for your support and attention

    Regards

    Luis E Jimenez

    • 16310
      Offline posted in reply to Luis E Jimenez

      Hello,

      I am glad you have managed to resolve your issue. Could you please send some screenshots of what you are seeing in IE/Firefox and Chrome to provide more insight of the issue ? It will be also highly appreciated if you can share the code of the Reporting and also the html rendered in the page.

      Looking forward to hearing from you.

      • 16310
        Offline posted in reply to Hristo Anastasov

        Hi,

        I'm just checking up to see if the suggested resolved your issue. If you have any follow-up questions, please let me know.

        • 16310
          Offline posted in reply to Luis E Jimenez

          Hello,

          Thank you for your information !

          Your code is fine, however in order to get the Print button rendered you need Adobe Reader Plugin installed and enabled ! As stated at http://help.infragistics.com/Help/Doc/Reporting/2014.2/CLR4.0/html/HTML5_Report_Viewer_Overview.html the Print button is only shown if the plugin is present.

          This should fix issues in both Chrome and Safari.

          Please let me know if you have further questions on the matter.

          • 60
            posted in reply to Hristo Anastasov

            Hi,

            Thanks for your support, I really appreciate it.

            Well, the situation is like this. As you can see on the following link:

            http://www.internetmexico.net/ammvepe/2015/webadmon/eventocongreso/administracion/reporteinfra02.aspx

            you are accesing an actual report, that in Internet Explorer looks great, with all the features for EXPORT, PRINT, ZOOM and REFRESH

            But on Google Chrome the PRINT option doesn't show up, and if you use SAFARI the PRINT option shows up but when you activate this option, the printing dialog box appear and shows that is going to print the WEB PAGE not the REPORT

             

            This is the code on the aspx page to generate the report

             

            <script src="Scripts/modernizr-latest.js" type="text/javascript"></script>

             <link href="Styles/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />

             <script src="Scripts/jquery-1.10.2.js" type="text/javascript"></script>

             <script src="Scripts/jquery-ui-1.10.4.custom.min.js" type="text/javascript"></script>

               

            <script src="Scripts/infragistics.loader.js" type="text/javascript"></script>

              <script type="text/javascript">

                   $.ig.loader({

                       cssPath: 'styles',

                       scriptPath: 'scripts',

                       resources: 'igReportViewer',

                       locale: 'en', 

                       ready: function () {

               //Page and resources are already loaded

                           $("#viewer").igReportViewer({

                               width: 800,

                               height: 1000,

                               renderSettings: {

                                  //definitionUri: 'HTML5ClassLibrary;component/Report1.igr',

                                   definitionUri: 'Reportesammvepe;component/Reporte02.igr', 

                                   serviceEndpointUri: "ReportService1.svc/ajaxAddress/"

                   }

                   });

                   }

                  });

            </script>

            I hope this help, but if you need more information about this problema please let me know.

             

            Thanks again for your help.

             

            Regards

             

            Luis Enrique Jimenez

            • 16310
              Offline posted in reply to Hristo Anastasov


              Hello,

              I'm just following up to see if you need any further assistance with this issue. If so please let me know.

          • 16310
            Offline posted


            Hello,

            Thank you for contacting Infragistics!
            This is an initial update to let you know that I have received your support request and will be looking into this matter for you. I will follow-up with you regarding my findings.

            Best Regards,
            Hristo Anastasov
            Associate Software Developer
            Infragistics, Inc.