开发者

how to display html content in a textbox?

开发者 https://www.devze.com 2023-03-20 03:29 出处:网络
What I want to do is to create a reply page in my email application, which the original email content shows in bottom, user could enter their reply message on top.I know I can display html content in

What I want to do is to create a reply page in my email application, which the original email content shows in bottom, user could enter their reply message on top.I know I can display html content in a DIV by u开发者_JS百科sing div.InnerHtml property. But in a div user cannot input new content. Is that possible that HTML content could be displayed in a textbox? If not, any other option? My development environment is Asp.net C#, I use EWS to communicate with exchange server. Thank you.


You can use the HTMLEditor control.


You could encode the content... e.g. <html> to &lt;html&gt;

0

精彩评论

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