ajaxpro 下载,bug 修复,重新编译(ajaxpro.2.dll)

1.  ajaxpro 官网

2. bug 原文

   a): ajaxpro2.0 返回dataset出现缺少对象错误

            AjaxPro2 返回DataSet 时出现" 缺少对象"错误的问题解决办法:
            这个它的一个bug! 
                  可以通过修改源代码解决这个问题。 
                  具体方法: 
                  1.下载源代码 
                  2.在 "AjaxPro\JSON\Converters\"下找到"DataTableConverter.cs"文件。 
                  3.修改第71行, 
                        if (!AjaxPro.Utility.Settings.OldStyle.Contains("renderJsonCompliant")) 
                  把"!"去掉然后重新编译就好了

   b):总是会提出this.onTimeout is not a function 的脚本错误提示 

      timeout: function() { 
      try { 
            this.duration = new Date().getTime() - this.__start; 
            var r = this.onTimeout(this.duration, this); 
            if(typeof r == "undefined" || r != false) { 
            this.abort(); 
            } else { 
            this.timeoutTimer = setTimeout(this.timeout.bind(this), AjaxPro.timeoutPeriod); 
            } 
        } catch(error) { 
                  // Statements that execute in the event of an exception 
      } finally { 
            // Statements that execute afterward either way 
      }

3. ajaxpro 重新编译

    所需软件 :7za.exe http://sourceforge.net/project/showfiles.php?group_id=14481&package_id=29413&release_id=686156

    build.bat 修改

     set ZIP=C:\Program Files\7-Zip\     注意:  7za.exe 软件的安装目录

    "%ZIP%7z.exe"    注意 :改为  7za.exe  软件名,可能版本不同,名称不同

 

posted @ 2009-06-30 13:49  pj  阅读(2170)  评论(3)    收藏  举报