开发者

how GetLocalResourceObject output an HTML string?

开发者 https://www.devze.com 2023-01-02 12:06 出处:网络
I stored some html contents 开发者_JAVA百科in a local resource file. So it has html tags in it such as p, br, div, etc.

I stored some html contents 开发者_JAVA百科in a local resource file. So it has html tags in it such as p, br, div, etc. I used GetLocalResourceObject("myContent") to display the content on the page, but the page doesnt render it as HTML.


It turned out that I overlooked the htmlhelper syntax. I used <%= %> instead of <%: %>

0

精彩评论

暂无评论...
验证码 换一张
取 消