Would the MSFT Report Viewer (rdlc) Work with MVC

前端 未结 6 432
旧巷少年郎
旧巷少年郎 2020-12-15 00:30

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 import

6条回答
  •  误落风尘
    2020-12-15 01:00

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

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

    And you could try this too: 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-preview.aspx

提交回复
热议问题