水晶报表查看器打印/导出按钮不是在ASP.NET MVC应用程序工作 [英] Crystal Report Viewer print/export buttons not working in ASP.NET MVC app

查看:189
本文介绍了水晶报表查看器打印/导出按钮不是在ASP.NET MVC应用程序工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的MVC应用程序使用推模型和CR观众进行报告。所有的作品在观众然而打印/导出按钮给JavaScript错误不受此行动支持的对象显示报告大。我使用VS 2008和MVC。这发生在我的开发环境。任何想法?

My MVC app uses the push model and the CR viewer for reporting. All works great in displaying the report in the viewer however the print/export buttons give the javascript error 'Object not supported by this action'. I am using VS 2008 and MVC. This happens in my dev environment. Any ideas?

推荐答案

这个问题的答案是如此愚蠢的尴尬 - 我的弹出窗口拦截器造成这个错误。我也不过得到另一个次部署的网站错误或那是在'的aspnet_client / System_Web / 2_0_50727 / CrystalReportWebFormViewer4 / HTML / crystalexportdialog.htm没有找到404。我刚刚创建的网站上的文件夹,并复制C的内容:\\ WINDOWS \\ Microsoft.NET \\框架\\ V2.0.50727 \\ ASP.NETClientFiles \\ CrystalReportWebFormViewer4它和它固定它

The answer to this is so stupid its embarrassing - my popup blocker was causing this error. I did get another error or on th the deployed site however and that was a 404 not found on 'aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer4/html/crystalexportdialog.htm'. I just created the folder and on the site and copied the contents of C:\Windows\Microsoft.NET\Framework\v2.0.50727\ASP.NETClientFiles\CrystalReportWebFormViewer4 to it and it fixed it.

这篇关于水晶报表查看器打印/导出按钮不是在ASP.NET MVC应用程序工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆