} } // instantiate the class var MyObject = new MyClass();
</script> 2.在Page_Load事件中为Button的Click添加该JS方法: if (!IsPostBack) { lkbPost.Attributes.Add("onclick", "if (typeof(MyObject) != \'undefined\'){ MyObject.UpdateEditorFormValue(); return true;}else{return true;}"); } 3.另外,如果在FCKeditor控件中加入了图片等信息,需要将页面的ValidateRequest设置为false。完毕。转载于:https://www.cnblogs.com/caicainiao/archive/2010/11/04/1869031.html
相关资源:ExtAspNet v2.2.1 (2009-4-1) 值得一看