i have the following as an expression:
= "<table border=""1"" cellpadding=""5""><tr><td>CEll1</td><td>Cell2</td></tr></table>"
Set expression to render as html via placeholder properties renders as Cell1Cell2 with no border or padding.
scenario
Brand new 4.0 Web SITE
Add Default.aspx
Add ScriptManager
Add ReportViewer
Create Report.rdlc (add textbox with expression- manually write expression as above)
Set Expression to render as HTML
Link ReportViewer to Report.rdlc
RUN IT.
With placeholder properties off it outputs as
<table border="1" cellpadding="5"><tr><td>CEll1</td><td>Cell2</td></tr></table>
Currently, it may not be able to display item in a table tag, if you want to display the table, you could use the build-in
table control in Reporting Services, then import HTML from a field in your dataset for use in the table's textbox.
However here I still would recommend you to submit a feedback to Microsoft Connect at this link at this link
https://connect.microsoft.com/SQLServer/Feedback This connect site is a connection point between you and Microsoft. Your feedback enables Microsoft to make software and services the best that they
can be, Microsoft might consider to add this feature in the following release.
macaroo
Member
21 Points
19 Posts
HTML Rendering does not work properly table
May 04, 2011 03:02 PM|LINK
I am experiencing the same thing as this person. (https://connect.microsoft.com/VisualStudio/feedback/details/635825/report-viewer-2010-markup-type-html-does-not-render-the-tables)
i have the following as an expression:
= "<table border=""1"" cellpadding=""5""><tr><td>CEll1</td><td>Cell2</td></tr></table>"
Set expression to render as html via placeholder properties
renders as Cell1Cell2 with no border or padding.
scenario
Brand new 4.0 Web SITE
Add Default.aspx
Add ScriptManager
Add ReportViewer
Create Report.rdlc (add textbox with expression- manually write expression as above)
Set Expression to render as HTML
Link ReportViewer to Report.rdlc
RUN IT.
With placeholder properties off it outputs as
<table border="1" cellpadding="5"><tr><td>CEll1</td><td>Cell2</td></tr></table>
You-Hu Fu
Star
8174 Points
795 Posts
Re: HTML Rendering does not work properly table
May 12, 2011 07:53 AM|LINK
Hi,
Currently, it may not be able to display item in a table tag, if you want to display the table, you could use the build-in table control in Reporting Services, then import HTML from a field in your dataset for use in the table's textbox.
However here I still would recommend you to submit a feedback to Microsoft Connect at this link at this link https://connect.microsoft.com/SQLServer/Feedback This connect site is a connection point between you and Microsoft. Your feedback enables Microsoft to make software and services the best that they can be, Microsoft might consider to add this feature in the following release.
Regards,
Challen Fu
Feedback to us
Microsoft One Code Framework
ashrafur
Participant
930 Points
166 Posts
Re: HTML Rendering does not work properly table
Jun 15, 2012 08:27 PM|LINK
I suffered a lot with the firefox, chrome and IE explorer issue too. And finally this worked great for me for all the browser. Yaaaahooo :)
<rsweb:ReportViewer ID="ReportViewer1" runat="server" zoom="default" toolbar="True" parameters="True" AsyncRendering="False" SizeToReportContent="True" Width="100%" style="overflow:hidden;width:100%;">
</rsweb:ReportViewer>
http://www.ashrafur.com