<legend id='AdCTo'><style id='AdCTo'><dir id='AdCTo'><q id='AdCTo'></q></dir></style></legend>
    1. <tfoot id='AdCTo'></tfoot>

        <small id='AdCTo'></small><noframes id='AdCTo'>

      1. <i id='AdCTo'><tr id='AdCTo'><dt id='AdCTo'><q id='AdCTo'><span id='AdCTo'><b id='AdCTo'><form id='AdCTo'><ins id='AdCTo'></ins><ul id='AdCTo'></ul><sub id='AdCTo'></sub></form><legend id='AdCTo'></legend><bdo id='AdCTo'><pre id='AdCTo'><center id='AdCTo'></center></pre></bdo></b><th id='AdCTo'></th></span></q></dt></tr></i><div id='AdCTo'><tfoot id='AdCTo'></tfoot><dl id='AdCTo'><fieldset id='AdCTo'></fieldset></dl></div>

          <bdo id='AdCTo'></bdo><ul id='AdCTo'></ul>

        ASP.NET - Crystal Report Viewer 打印按钮在 ASP.NET 中不起作用

        ASP.NET - Crystal Report Viewer Print Button Not Working In ASP.NET(ASP.NET - Crystal Report Viewer 打印按钮在 ASP.NET 中不起作用)

      2. <tfoot id='i9tpG'></tfoot>
      3. <legend id='i9tpG'><style id='i9tpG'><dir id='i9tpG'><q id='i9tpG'></q></dir></style></legend>

        <small id='i9tpG'></small><noframes id='i9tpG'>

            <tbody id='i9tpG'></tbody>

            1. <i id='i9tpG'><tr id='i9tpG'><dt id='i9tpG'><q id='i9tpG'><span id='i9tpG'><b id='i9tpG'><form id='i9tpG'><ins id='i9tpG'></ins><ul id='i9tpG'></ul><sub id='i9tpG'></sub></form><legend id='i9tpG'></legend><bdo id='i9tpG'><pre id='i9tpG'><center id='i9tpG'></center></pre></bdo></b><th id='i9tpG'></th></span></q></dt></tr></i><div id='i9tpG'><tfoot id='i9tpG'></tfoot><dl id='i9tpG'><fieldset id='i9tpG'></fieldset></dl></div>
                <bdo id='i9tpG'></bdo><ul id='i9tpG'></ul>

                1. 本文介绍了ASP.NET - Crystal Report Viewer 打印按钮在 ASP.NET 中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在使用 Visual Studio 2008,但水晶报告有问题.当我单击打印按钮时,它会将我带到没有找到页面的弹出窗口.弹出网址是

                  I am using visual studio 2008 and i am having issue with crystal reports. When i clicks on print button it takes me to the popup with no page found. Popup url is

                  http://localhost/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer4/html/crystalexportdialog.htm

                  我已检查该路径上是否存在 crystalexportdialog.htm 文件:C:WindowsMicrosoft.NETFrameworkv2.0.50727ASP.NETClientFilesCrystalReportWebFormViewer4htmlcrystalexportdialog.htm

                  I have checked that crystalexportdialog.htm file exists on this path: C:WindowsMicrosoft.NETFrameworkv2.0.50727ASP.NETClientFilesCrystalReportWebFormViewer4htmlcrystalexportdialog.htm

                  这是我在 page_load 事件上的代码.

                  This is my code on page_load event.

                      ReportDocument rptDoc = new ReportDocument();
                  
                      ReportProjectProperties ds = new ReportProjectProperties();// .xsd file name
                      DataTable dt = DbUtility.GetProjectWorksheets(15);
                      ds.Tables[0].Merge(dt);
                      // Your .rpt file path will be below
                      rptDoc.Load(Server.MapPath("../Reports/report1.rpt"));
                      //set dataset to the report viewer.
                      rptDoc.SetDataSource(ds);
                      CrystalReportViewer1.ReportSource = rptDoc;
                  

                  谢谢.

                  推荐答案

                  我已经解决了这个问题.您还可以在 Crystal Report Viewer 打印/导出按钮在 ASP.NET MVC 应用程序中不起作用

                  I have solved this issue. you can also see my same comments on this Crystal Report Viewer print/export buttons not working in ASP.NET MVC app

                  Crystal Report 使用 javascript 文件进行打印,其自身的图像应包含在网站的根目录中.我已经通过在我网站的根目录上创建文件夹解决了这个问题

                  Crystal Report uses javascript files to print and its own images that should be included on root directory of the website. I have solved this issue by creating folers on root directory of my website

                  aspnet_client/system_web/2_0_50727/

                  aspnet_client/system_web/2_0_50727/

                  并从此路径复制文件夹 CrystalReportWebFormViewer4

                  and copied the folder CrystalReportWebFormViewer4 from this path

                  C:WindowsMicrosoft.NETFrameworkv2.0.50727ASP.NETClientFilesCrystalReportWebFormViewer4

                  C:WindowsMicrosoft.NETFrameworkv2.0.50727ASP.NETClientFilesCrystalReportWebFormViewer4

                  在我创建的 2_0_50727 文件夹中.现在显示打印图像和打印/导出按钮,打印和导出功能也正常工作.

                  in 2_0_50727 folder i have created. Now print images and print/export buttons are displayed and also print and export functionality is working fine.

                  谢谢.

                  这篇关于ASP.NET - Crystal Report Viewer 打印按钮在 ASP.NET 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Adding DbContextOptions in Startup.cs not registering data store(在 Startup.cs 中添加 DbContextOptions 未注册数据存储)
                  Migrate html helpers to ASP.NET Core(将 html 帮助程序迁移到 ASP.NET Core)
                  Conditional validation in MVC.NET Core (RequiredIf)(MVC.NET Core 中的条件验证(RequiredIf))
                  Is it possible to serve static files from outside the wwwroot folder?(是否可以从 wwwroot 文件夹外部提供静态文件?)
                  Working with multiple resultset in .net core(在 .net 核心中使用多个结果集)
                  Where all types for http headers gone in ASP.NET 5?(ASP.NET 5 中所有类型的 http 标头都去了哪里?)
                    <bdo id='vPYtA'></bdo><ul id='vPYtA'></ul>
                  • <legend id='vPYtA'><style id='vPYtA'><dir id='vPYtA'><q id='vPYtA'></q></dir></style></legend>
                  • <tfoot id='vPYtA'></tfoot>

                      <i id='vPYtA'><tr id='vPYtA'><dt id='vPYtA'><q id='vPYtA'><span id='vPYtA'><b id='vPYtA'><form id='vPYtA'><ins id='vPYtA'></ins><ul id='vPYtA'></ul><sub id='vPYtA'></sub></form><legend id='vPYtA'></legend><bdo id='vPYtA'><pre id='vPYtA'><center id='vPYtA'></center></pre></bdo></b><th id='vPYtA'></th></span></q></dt></tr></i><div id='vPYtA'><tfoot id='vPYtA'></tfoot><dl id='vPYtA'><fieldset id='vPYtA'></fieldset></dl></div>

                        <small id='vPYtA'></small><noframes id='vPYtA'>

                            <tbody id='vPYtA'></tbody>