How to render client report definition files (.rdlc) directly to the Response stream without preview

Hi all,
i am exporting rdlc report to word perfectly

my requirement is i want to export local report without preview,

i.e.on button click word doc should be generate according to that RDLC report

any help, plz its urgent

thanks & regards
Saikrishna

Hi

Thanks for your request. Please see the following link to learn how to render reports programmatically:
https://docs.aspose.com/words/reportingservices/rendering-reports-programmatically/
Hope this helps.
Best regards.

Hi thanks for your reply, but i am getting
this exception ,

Specified argument was out of the range of valid values.
Parameter name:
format

*Exception Details: System.ArgumentOutOfRangeException: Specified argument
was out of the range of valid values.
Parameter name: format

Source
Error:
*

Line 222:
Line 223: // Render the report.
Line 224: byte[] reportBytes = report.Render(
Line 225: format,
Line 226: deviceInfo,

Hi

Thank you for additional information. Please make sure you properly integrated Aspose.Words for Reporting Services with Report Viewer as described here:
https://docs.aspose.com/words/reportingservices/configure-aspose-words-for-reporting-services/

Also, please make sure you use correct export format: i.e

“AWDOC” for DOC
“AWDOCX” for DOCX
“AWRTF” for RTF
“AWWML” for WordML
“AWHTML” for HTML
“AWMHTML” for MHTML
“AWODT” for ODT
“AWTXT” for TXT
“AWXPS” for XPS
“AWEPUB” for EPUB

Best regards.