Showing posts with label rdlc. Show all posts
Showing posts with label rdlc. Show all posts

Wednesday, March 21, 2012

Rich Text Format interpretation using .RDLC report file

Can someone point me to any RTF text interpretation capability with VB 2005 .rdlc file? I would like to select a field that is saved to SQL server with formatting, and do so without reporting the format string.

This is what I would like to avoid reporting: http://img381.imageshack.us/img381/6217/rtf1gd.png

Thanks, josh.

Rich text formatting is not supported. You would have to write your own custom code to interpret the text to display in the text box.|||

I've searched the web for example code for my report, but haven't had much luck. Any ideas you could provide me?

thanks again.

|||

Refer to my post in this thread. I have a walkthrough and class code that should solve your problem.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=738557&SiteID=1

|||

Thanks, I will give this a try on Reporting Services.

Do you know if this can work with a locally processed report with windows forms?

|||It should work fine. It is a pretty generic class that just renders the RTF to a fixed size, creates an array of images that correspond to the total number of pages then either merges all of the pages into a single image, returns back a specific page, returns back a bit array (which is what is required for reporting services) or returns all of the pages in an ArrayList.

Rich Text Format interpretation using .RDLC report file

Can someone point me to any RTF text interpretation capability with VB 2005 .rdlc file? I would like to select a field that is saved to SQL server with formatting, and do so without reporting the format string.

This is what I would like to avoid reporting: http://img381.imageshack.us/img381/6217/rtf1gd.png

Thanks, josh.

Rich text formatting is not supported. You would have to write your own custom code to interpret the text to display in the text box.|||

I've searched the web for example code for my report, but haven't had much luck. Any ideas you could provide me?

thanks again.

|||

Refer to my post in this thread. I have a walkthrough and class code that should solve your problem.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=738557&SiteID=1

|||

Thanks, I will give this a try on Reporting Services.

Do you know if this can work with a locally processed report with windows forms?

|||It should work fine. It is a pretty generic class that just renders the RTF to a fixed size, creates an array of images that correspond to the total number of pages then either merges all of the pages into a single image, returns back a specific page, returns back a bit array (which is what is required for reporting services) or returns all of the pages in an ArrayList.