<div> <div>I am trying to create a rdlc report.</div> <div> </div> <div>One of the fields in the report contains HTML formatted information. e.g. (It's a text field which is populated from a Rich
Text Editor similar to one we have here).</div> <div> </div> <div>When I put the content of this, in a text box of RDLC file, it shows HTML instead of formatted output.</div> <div> </div> <div>I
have been doing this in Crystal Reports using Text Format tag in there.</div> <div> </div> <div>Is there some similar option available for RDLC text box too? I could not find any.</div></div>
Only Visual Studio 2010 with new ReportViewer control could achieve this requirement. Alternatively, you could use remote mode of the current ReportViewer and connect to a RS 2008 report server with your report published to that server.
Here steps about adding HTML from a field in your dataset into a text box in SSRS2008 are:
If the Toolbox is not visible, click Toolbox on the View menu.
Double-click or drag a Textbox report item to the design surface.
Drag a field from your dataset into the text box. A placeholder is created for your field.
Right-click the placeholder, and then click Placeholder Properties.
On the General tab, verify that the Value box contains an expression that evaluates to the field you dropped in step 3.
Click HTML - Interpret HTML tags as styles. This causes the field to be evaluated as HTML.
raju.manick
Member
8 Points
9 Posts
It is possible Html Formatted Textbox in RDLC (microsoft Report Viewer)
Sep 17, 2010 02:12 PM|LINK
report viewer rdlc reports
You-Hu Fu
Star
8174 Points
795 Posts
Re: It is possible Html Formatted Textbox in RDLC (microsoft Report Viewer)
Sep 24, 2010 10:41 AM|LINK
Hi raju.manick,
Only Visual Studio 2010 with new ReportViewer control could achieve this requirement. Alternatively, you could use remote mode of the current ReportViewer and connect to a RS 2008 report server with your report published to that server.
Here steps about adding HTML from a field in your dataset into a text box in SSRS2008 are:
If the Toolbox is not visible, click Toolbox on the View menu.
Double-click or drag a Textbox report item to the design surface.
Drag a field from your dataset into the text box. A placeholder is created for your field.
Right-click the placeholder, and then click Placeholder Properties.
On the General tab, verify that the Value box contains an expression that evaluates to the field you dropped in step 3.
Click HTML - Interpret HTML tags as styles. This causes the field to be evaluated as HTML.
Click OK.
If you have any concern, please feel free to ask.
Best regards,
Challen Fu
Thanks.
Feedback to us
Microsoft One Code Framework
tarek294
Member
2 Points
1 Post
Re: It is possible Html Formatted Textbox in RDLC (microsoft Report Viewer)
Jan 23, 2011 08:06 AM|LINK
Html in report viewer support limited tags. Needs to display it as image to support all html tags check url below:
http://webapplication02.blogspot.com/2011/01/display-html-in-rdlc-file.html
ReportViewer RDLC (Report) image HTML
AbdulAzeezTK
Member
2 Points
2 Posts
Re: It is possible Html Formatted Textbox in RDLC (microsoft Report Viewer)
Feb 15, 2012 11:13 AM|LINK
Hi Challen Fu,
Thanks your comment, But RDLC supported only limited HTML Tags and It does not support the HTML Table and Background Color.
Please let me know , if you have any workaround or solution
Thanks
Abdul.