ASp.net MVC with Report Viewer?
How can i set up rdlc (report file,with R开发者_开发百科eprort viewer) on ASP.net MVC 2.0?
I have created rdlc file..
And when i drag report viewer in the mvc page it shuffles and it doest not fit like what weve done in winform application / webform . Even you create new My First MVC application Report viewer also distorted.I place the report viewer in a table and not still fit.
I tried to create a webform that excluded in my mvc masterpage and the report viewer fits well.
Whats should i do?
Thanks in regards..
I posted the code at my blog. Let me know if this is helpful.
http://blogs.msdn.com/b/sajoshi/archive/2010/06/16/asp-net-mvc-handling-ssrs-reports-with-reportviewer-part-i.aspx
The ReportViewer component is not intended to be used with ASP.NET MVC and is unsupported. You may checkout this example. You could have a standard WebForms page (not MVC) generate the report and then include it either with iframe inside your MVC application or have it generate the report as PDF which then could be embedded.
精彩评论