Click here to Skip to main content
15,886,963 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have SSRS report contains a text box with property "Markup type" set to HTML - Interpret HTML tags as styles.


And I have the value return from my db
XML
<html><P>Hi,</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This to inform you&nbsp;&nbsp;that you owe&nbsp;us</P>
<P>&nbsp;</P>
<P>Regards</P>
<P>XXXXXX</P>
<P>&nbsp;</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
<P>Note:- Pentaly&nbsp;will be applied if not paid within the period&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </P></BLOCKQUOTE></BLOCKQUOTE></html>


But the actually output of the report don't have any impact on & nbsp; and BLOCKQUOTE tags. while searching in web, I came across that SSRS support only few HTML tags.
http://technet.microsoft.com/en-us/library/ff519562.aspx[^]


And the HTML to the report is Dynamic from the another application.

Do we have any solution to make these tag to work in SSRS as it was working with normal HTML


Any suggestion are highly appreciated.

Regards
Sudarsan C.R
Posted

1 solution

In SP, wrote a logic to find and replace
blockquote tag with div tag. Solution worked for us to major extend.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900