简体   繁体   中英

how to display html content in a textbox?

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 using 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... eg <html> to &lt;html&gt;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM