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

Parents Reply
  • 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

Children