//设置编辑文本为不可编辑状态
        private void SetNoteable()
        {
            FCKeditor_Edit.ToolbarSet = "Readonly";
            string sJS = @"function FCKeditor_OnComplete( editor ) 
                        { 
                           editor.EditorDocument.body.contentEditable = false; 
                           editor.EditMode=FCK_EDITMODE_SOURCE; 
                           editor.ToolbarSet.RefreshModeState(); 
                           editor.EditMode=FCK_EDITMODE_WYSIWYG; 
                           editor.ToolbarSet.RefreshModeState(); 
                       }";
            AjaxPageHelper.AjaxExecuteJS(UpdatePanelInfo, this, sJS);
                    }
 //设置编辑文本为可编辑状态
        private void Seteable()
        {
            FCKeditor_Edit.ToolbarSet = "Default";
            string sJS = @"function FCKeditor_OnComplete( editor ) 
                { 
                    editor.EditorDocument.body.contentEditable = true; 
                    editor.EditMode=FCK_EDITMODE_SOURCE; 
                    editor.ToolbarSet.RefreshModeState(); 
                    editor.EditMode=FCK_EDITMODE_WYSIWYG; 
                    editor.ToolbarSet.RefreshModeState(); 
                }";
            AjaxPageHelper.AjaxExecuteJS(UpdatePanelInfo, this, sJS);
         }
 <asp:Button ID="btn_Update" runat="server" CssClass="btn blnormal" Text="编辑" OnClick="btn_Update_Click">这个 btn 在按一次 以后就变成 “保存”。这个 编辑控件会在 编辑 与 不编辑直接切换。
在按了 好几次  之后(刚开始按几次的时候都是正常的。编辑功能保存到数据库都能实现)  程序 就会出错。报一个 什么 server 500的错误。程序没有问题。很简单就光对 里面文本进行编辑保存。请问 有谁知道这是怎么回事,应该怎样修改,小弟刚上路,麻烦写的详细点。分也不多,有多少可以都给你。在线等。