I have an application designed in MVC. Now I've started working on reporting. So far, I've been creating reports with basic html controls in razor view. Basically I don't preffer using any 3rd part tools which can degarde performance and my control over
the code.
But now, my company needs some additionality on my reports. (like those in report viewer, crystal reports etc)That is, export data to word, excel, pdf etc. Print report without the url, date etc which browsers will include.
Is there any way to integrate those functonalities in my reports. If no, which is the best light weight reporting tool for mvc which is easy to maintain.
moncytvs
Member
59 Points
49 Posts
Light weight reporting in ASP.NET MVC
Jan 01, 2013 08:16 AM|LINK
I have an application designed in MVC. Now I've started working on reporting. So far, I've been creating reports with basic html controls in razor view. Basically I don't preffer using any 3rd part tools which can degarde performance and my control over the code.
But now, my company needs some additionality on my reports. (like those in report viewer, crystal reports etc)That is, export data to word, excel, pdf etc. Print report without the url, date etc which browsers will include.
Is there any way to integrate those functonalities in my reports. If no, which is the best light weight reporting tool for mvc which is easy to maintain.
Please give your suggestions,
Thanks.
santosh.jagd...
Star
7625 Points
1454 Posts
Re: Light weight reporting in ASP.NET MVC
Jan 01, 2013 09:44 AM|LINK
you can go with .RDLC reports which support export functionality in PDF, Word, Excel.
And .RDLC report renders on client side so this is light weight.
here is one tutorial http://www.aspdotnetcodes.com/Asp.Net_Local_Report_RDLC.aspx
MCP
raduenuca
All-Star
24675 Points
4250 Posts
Re: Light weight reporting in ASP.NET MVC
Jan 01, 2013 11:12 AM|LINK
You can use the ReportViewer control from WebForms in a MVC application. See here:
http://stackoverflow.com/questions/6144513/how-can-i-use-a-reportviewer-control-in-an-asp-net-mvc-3-razor-view
Radu Enuca | Blog