在ASP.Net中的Partial PostBack中使用AJAX UpdatePanel中的TinyMCE Rich TextBox Editor [英] Using TinyMCE Rich TextBox Editor inside AJAX UpdatePanel across Partial PostBack in ASP.Net

查看:59
本文介绍了在ASP.Net中的Partial PostBack中使用AJAX UpdatePanel中的TinyMCE Rich TextBox Editor的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 <script src="jscripts/tiny_mce/tiny_mce.js" type="text/javascript"></script>

   function callInt<%= txtBody.ClientID%>() {
        tinyMCE.init({
            mode: "textareas",
            elements: "<%= txtBody.ClientID%>",
            theme: "advanced",
            skin: "o2k7",
            plugins: "inlinepopups,paste,safari",
            theme_advanced_buttons1: "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,fontselect,fontsizeselect",
            theme_advanced_buttons2: "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,|,insertdate,inserttime,preview,|,forecolor,backcolor",
            theme_advanced_buttons3: "",
            theme_advanced_toolbar_location: "top",
            theme_advanced_toolbar_align: "left",
            cleanup_callback: "myCustomCleanup<%= txtBody.ClientID%>",
            save_callback: "myCustomSaveContent<%= txtBody.ClientID%>"

        });
    }

<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
    <tr>
        <td width="100%">

            <textarea id="txtBody" runat="server" name="Name" style="width: 825px"></textarea>

        </td>
    </tr>
</table>



Ajax modal pop Firefox此文本区域无法启用我使用





已添加正确的标签。

[/编辑]

推荐答案

这篇关于在ASP.Net中的Partial PostBack中使用AJAX UpdatePanel中的TinyMCE Rich TextBox Editor的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆