How to configure ReportViewer so it can be exported CSV in ASP.NET (ReportViewer that comes from VisualStudio 2005/2008)? So it will be apart of current drop downlist? At the moment, it's only for Excel and PDF but not CSV.
Thanks
How to configure ReportViewer so it can be exported CSV in ASP.NET (ReportViewer that comes from VisualStudio 2005/2008)? So it will be apart of current drop downlist? At the moment, it's only for Excel and PDF but not CSV.
Thanks
Report Viewer をローカル モードで実行すると、PDF と Excel 以外にエクスポートできません。他の形式にエクスポートできるようにする場合は、Report Viewer をサーバー モードで実行する必要があります。レンダリングは、拡張機能を介して SQL サーバー上で行われます。
Report Viewer がローカル モードで他の形式をエクスポートできるようにする唯一の方法は、レンダー クラスをオーバーライドし、基本的に自分でレンダラーを作成することです。これは非常に複雑です。
ちなみに、Reflection を介して Word と HTML のレンダリングを有効にすることもできます。ただし、この手法による画像のレンダリングは少し大ざっぱです。これをやってみましたが、画像が正しくレンダリングされません。