本文介绍了在文本框中的SSRS中使用HTML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有SSRS报告包含一个文本框,其属性标记类型设置为HTML - 将HTML标记解释为样式。





我从我的数据库返回值

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

<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>





但报告的实际输出对& NBSP;和BLOCKQUOTE标签。在网上搜索时,我发现SSRS只支持几个HTML标签。

[]





报告的HTML是动态来自另一个应用程序。



我们是否有任何解决方案可以使这些标签在SSRS中工作,因为它使用普通的HTML





我们非常感谢任何建议。



问候

Sudarsan CR



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

推荐答案


这篇关于在文本框中的SSRS中使用HTML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-30 07:20