在MSFT报表查看器(RDLC)将与MVC工作 [英] Would the MSFT Report Viewer (rdlc) Work with MVC

查看:117
本文介绍了在MSFT报表查看器(RDLC)将与MVC工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我感兴趣的学习MVC,并与一对夫妇的示例应用程序的实验。作为一个项目,我想移动的部分或全部我自己的办公室应用程序来MVC的。这个应用程序,以及所有我的应用程序,为客户的一个重要组成部分,是发票,采购订单,库存清单等的印刷。事实上,其用于判断我们做什么主要标准之一是这些文件的外观和它们掺入到该应用在一个实用的,直观的方式。

I am interested in learning MVC, and have experimented with a couple of the sample apps. As a project, I'd like to move part or all of my own office app to MVC. An important part of this app, and of ALL of my apps for customers, is the printing of invoices, purchase orders, inventory lists and so forth. In fact, one of their main criteria for judging what we do is the appearance of these documents and their incorporation into the app in a practical, intuitive way.

这是不可能的,我不报告撰稿人度日。用于生产RDLC报告的MSFT报表查看器已经足够了,甚至出现比在几个关键领域的竞争对手更好。

It's impossible for me to get by without a report writer. The MSFT report viewer used to produce rdlc reports has been sufficient, and even comes up better than the competition in a couple of key areas.

这是否控制工作,ASP.NET MVC应用程序?

Does this control work with an ASP.NET MVC application?

推荐答案

ASP.NET视图状态已被禁用。报表查看器控件需要的ViewState启用。如果您运行从视图报表查看器。

"ASP.NET ViewState has been disabled. The Report Viewer control requires that ViewState be enabled." if you run the report viewer from a view.

但你可以在同一个项目中运行web表单页面。丑陋,但它的作品。

But you can run a webforms page in the same project. Ugly, but it works.

你可以试试这个太:<一href=\"http://weblogs.asp.net/rajbk/archive/2006/03/02/How-to-render-client-report-definition-files-_28002E00_rdlc_2900_-directly-to-the-Response-stream-without-$p$pview.aspx\" rel=\"nofollow\">http://weblogs.asp.net/rajbk/archive/2006/03/02/How-to-render-client-report-definition-files-_28002E00_rdlc_2900_-directly-to-the-Response-stream-without-$p$pview.aspx

这篇关于在MSFT报表查看器(RDLC)将与MVC工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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