RDLC reports with Rich text support
Hi, I am looking for the solution to display the Rich text in RDLC file with local processing mode. I have read from the following link which stated that Microsoft made this feature available in Visual Studio 2010. http://blogs.msdn.com/b/brianhartman/archive/2010/04/20/visual-studio-2010-is-now-available.aspx Can anyone please tell me how to use this? Thanks in Advance!!! Best Regards, Subalakshmi Vijayarajan.
September 13th, 2010 12:14pm

This can easily be achieved in RS 2008 and RS 2008 r2 ; To do : Double click inside a cell [ Textbox],ryt click the same and select create a place holder . Value Expression Would be ="<i>I am<i> <b>"& Fields!Name.Value & "</b>" Mark up type -- select HTML-Interpret HTML tags as Styles . Thanks .Rajkumar Yelugu
Free Windows Admin Tool Kit Click here and download it now
September 13th, 2010 12:24pm

http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/b1d4d9b7-efb6-4047-b1bb-89e7f8930633 Thanks .Rajkumar Yelugu
September 13th, 2010 12:26pm

Rajkumar, Thanks for your reply. I tried this with the rich text data. But it is not converting the format. Instead, it is displaying all the rich text format text along with the text. Any other solution or suggesion? Best Regards, Subalakshmi Vijayarajan.
Free Windows Admin Tool Kit Click here and download it now
September 13th, 2010 2:50pm

HI Subalakshmi Vijayarajan , I did'nt see character "C" in the string "RDLC" , my post much more reflects for a RDL file rather than RDLC . Not sure if it would be the same for both RDL and RDLC [ rich text format support ] I'm glad to see that you did unmarked the post so that it would fall insight of other communities to direct you in the right path . Thanks. Rajkumar Yelugu
September 13th, 2010 3:04pm

http://social.msdn.microsoft.com/Forums/en/vsreportcontrols/thread/379dc2da-6c46-49a8-82c4-5c023ce2305e This is what i got from a post on quick googling .Rajkumar Yelugu
Free Windows Admin Tool Kit Click here and download it now
September 13th, 2010 3:08pm

http://social.msdn.microsoft.com/Forums/en-US/vsreportcontrols/thread/f5fc5778-0f86-41d7-bfb2-e49a9e70cf0e/ I feel pity to post this link coz it sounds like RDLC's alone doesnt support Rich Text format Support but when you bind a Server Mode report to report viewer control then it does . Thanks .Rajkumar Yelugu
September 13th, 2010 3:12pm

Thanks for your quick reply Rajkumar Best Regards, Subalakshmi Vijayarajan.
Free Windows Admin Tool Kit Click here and download it now
September 13th, 2010 3:15pm

Hi Rajkumar, I found that the "HTML-Interpret HTML tags as Styles" option working in RDLC files too. The problem is that it is converting only the HTML tags. But what I get from the RichTextBox is the RTF format which is not being interpreted by this option in RDLC file. Is there anyother way with which we can interpret the RTF format in RDLC files or any other way to read the data from the RichTextBox in HTML format? Appreciate your help. Thanks & Regards, Subalakshmi Vijayarajan.
September 15th, 2010 8:35am

Hi Subalakshmi Vijayarajan, As the link you posted, Visual Studio 2010 can use Reporting Services 2008 RDLC which support rich text. It means different text font can be specified to one textbox. For example, we can select a part of text in the textbox then set the properties in the Font category such as FontFamily, FontStyle, FontSize… So text in a single textbox can represent in various fonts. Another similar thread you can refer to: http://social.msdn.microsoft.com/Forums/en-US/vsreportcontrols/thread/6d4144c7-d287-4fb1-a131-97d7763743eb Hope this helps. If it is not what you need, please let me know. Thanks, Tony Chain
Free Windows Admin Tool Kit Click here and download it now
September 16th, 2010 10:52am

Hi Tony, Thanks for your reply. I have a column in my database with richtextbox formatted content. I am retrieving that column and displaying it in my RDLC report. So, I cannot select each text and format manually. Hope you get my problem. Best Regards, Subalakshmi Vijayarajan.
September 16th, 2010 12:57pm

Hi Subalakshmi Vijayarajan, Thank you for your explanation. However, in RDLC 2008, we can only display plain text or interpret HTML tags from database automatically. To interpret RTF fields in database, one workaround is render the RTF file into IMG file, and then display the image on the report. You can refer to the similar thread: http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/d651e526-8d3a-4543-8f6f-82fd5c9e8286 If you have any question, please feel free to ask. Thanks, Tony Chain
Free Windows Admin Tool Kit Click here and download it now
September 17th, 2010 12:00pm

we can only display plain text or interpret HTML tags from database automatically. Tony, Can you explain more on this please ??? I need to show HTML content in the screen. (some text with HTML formatting like Bold, color, back ground color....). I can fetch the data from the database or code behind - this option is flexible I am using VS 2008, SQL Server 2005, RDLC (local reports and not SRSS). Please let me know how we can do this. I have tried all the possiblities and none works.KingCobra [BalaVikram]
March 4th, 2011 11:08am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics