CKEditor and asp.net

Posted by TheVillageIdiot on Stack Overflow See other posts from Stack Overflow or by TheVillageIdiot
Published on 2010-12-29T03:40:31Z Indexed on 2010/12/29 3:54 UTC
Read the original article Hit count: 269

Filed under:
|

I am using CKEditor on my page. It is working fine except when I post back. I am getting this error:

A potentially dangerous Request.Form value was detected from the client (ctl00$MainContent$txtDesc="<p> &nbsp;</p>

I am using this code to put CKEditor value into textbox on OnClientClick event of submit button:

function getEditorValue(){
    var editor=$("#<%= txtDesc.ClientID%>").ckeditorGet();
    editor.updateElement();
    return true;
}

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about ckeditor