开发者

how GetLocalResourceObject output an HTML string?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜