This is a migrated thread and some comments may be shown as answers.

Get the HTML code

1 Answer 29 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mohammad
Top achievements
Rank 1
Mohammad asked on 13 Dec 2010, 02:00 PM
I am using the Editor for my software and when I stor the editor value to the database it is coded for example <p>Test</p><p>One</p>
I want to get the HTML Code to Stor it in the database
and It is use \<p> for new line instead of \<br\>

1 Answer, 1 is accepted

Sort by
0
Mohammad
Top achievements
Rank 1
answered on 13 Dec 2010, 02:14 PM
Done
using System.Web.HttpUtility.HtmlDecode
Tags
Editor
Asked by
Mohammad
Top achievements
Rank 1
Answers by
Mohammad
Top achievements
Rank 1
Share this question
or