سؤال

I am using Microsoft.ReportViewer to display SSRS reports from my C# desktop application. The ReportViewr by default provides the 3 modes of export features, 1. Excel. 2. Word, 3. PDF. Now we want another export capability of RTF. Does any one have any idea how to convert the SSRS reports to RTF format?

هل كانت مفيدة؟

المحلول

SQL Server Reporting Services does not support RTF as a rendering format out of the box. If you want this functionality you have two options:

1) Develop a custom rendering extension

or

2) Buy a third-party solution, for example this one

نصائح أخرى

If you can export it to a word file, you can use the word interop to read the file, select all, copy and paste to a richtextbox. You can get the rtf format from the RTF property of the richtextbox.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top