I use the standard AJAX editor and I want to put the HTML content in a database and I want to get the HTML data from the database to put in the HTML editor, in HTML mode.
So I do:
Editor1.ActiveMode = AjaxControlToolkit.HTMLEditor.ActiveModeType.Html; Editor1.Content = MessageLabel2; view plaincopy to clipboardprint? Editor1.ActiveMode = AjaxControlToolkit.HTMLEditor.ActiveModeType.Html;
Editor1.Content = data_from_database;
But what happens is that I get the HTML data from the database in designmode in the editor, so I have HTML in designmode and HTML to HTML in HTMLmode (and that is not what I want of course).
Of course I want only HTML in HTML mode and in designmode I want the normal text.
How can you do this and is this possible or do I need to buy a commercial HTMLeditor?