2008-12-26 52 views

回答

2

您可以在同一個應用程序中混合使用WebForms和MVC頁面,因此您可能需要爲需要ReportView的頁面開發單個WebForms頁面。 Hanselman describes a similar scenario在他的博客上。如果您在MVC頁面中需要它,您可能需要查看以下有關如何操作的提示。我不知道這個特定的控制是否會起作用,因爲我沒有嘗試過。

http://codebetter.com/blogs/david.hayden/archive/2007/12/27/asp-net-mvc-and-accessing-server-controls-in-codebehind.aspx

http://flux88.com/blog/leveraging-existing-asp-net-features-in-asp-net-mvc/

相關問題