从 VS2008 升级到 2010 后 Crystal Reports 工具栏消失了 [英] Crystal Reports toolbar is gone after upgrading from VS2008 to 2010

查看:18
本文介绍了从 VS2008 升级到 2010 后 Crystal Reports 工具栏消失了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 VS 2010 中将我们的网站转换为 asp.net 4.0.Crystal 报表(版本 10.5.3700.0)呈现报表,但工具栏不会显示(因此打印/更改页面功能消失了).

I converted our web site to asp.net 4.0 in VS 2010. Crystal reports (version 10.5.3700.0) renders the reports, but the toolbar will not display (so the print/change page functionality is gone).

我在托管查看器的页面中设置了 AspCompat="true",并尝试了查看器属性中的几乎所有组合,但工具栏不会呈现.我也尝试了不同的 ClientIDModes,似乎没有任何效果.

I have set AspCompat="true" in the page that hosts the viewer, and tried just about every combination in the properties for the viewer, but the toolbar will not render. I have also tried different ClientIDModes, nothing seems to work.

到目前为止,我想出的唯一解决方法是在查看器中设置 SeparatePages="False" 并在一页上显示报告.

The only work around I have come up with so far is to set SeparatePages="False" in the viewer and display the report on one page.

任何帮助将不胜感激.

推荐答案

这是因为水晶报表在 2010 年有一组不同的库.

This is because crystal reports has a different set of libraries for 2010.

您需要安装更新版本的文件可以在这里找到...

you need to install the updated version the files can be found here ...

http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp

不知道为什么...这可能与 Visual Studio 中的 API 更改有关,但请确保先卸载旧版本.

Not sure why ... this is likely something to do with API changes in visual studio but make sure you uninstal the older version first.

这篇关于从 VS2008 升级到 2010 后 Crystal Reports 工具栏消失了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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