tinymce get HTML code when postback

前端 未结 8 685
醉话见心
醉话见心 2020-12-18 06:26

I have the tinymce -control as a WYSIWYG-Editior in my asp.net page.

When I have e.g. a Text in Bold, after the Postback it is shown as

 \"

8条回答
  •  抹茶落季
    2020-12-18 07:08

    Try passing your js code to the ScriptManager. Worked for me.

    string script = "alert('something')";
    ScriptManager.RegisterClientScriptBlock(UpdatePanelSend, typeof(UpdatePanel), "jscript", script, true);
    

    http://snippets.dzone.com/posts/show/6725

    Hope this helps.

提交回复
热议问题