Utility.RegisterTypeForAjax(typeof(smcx));网页错误详细信息
消息: 'null' 为空或不是对象
行: 50
字符: 13    <script type="text/javascript" defer="defer">
        $(function() {
            $("#dg").toSuperTable({ width: "100%", height: "228px", fixedCols: 6 })
            .find("tr:even");//.addClass("altRow");
        });
    </script>行: 50 是 $("#dg").toSuperTable({ width: "100%", height: "228px", fixedCols: 6 })字符: 13 是 $

解决方案 »

  1.   

    你的问题正常,本人也遇到过,建议用jquery就不要用AjaxPro。
      

  2.   

    <div id="DIV4" style="SCROLLBAR-FACE-COLOR: #D5DEDB; SCROLLBAR-HIGHLIGHT-COLOR: #e9f5f8; OVERFLOW: auto; WIDTH: 100%; SCROLLBAR-SHADOW-COLOR: #ffffff; SCROLLBAR-3DLIGHT-COLOR: #deeb9f; SCROLLBAR-ARROW-COLOR: #123456; SCROLLBAR-TRACK-COLOR: #fcfdfd; SCROLLBAR-DARKSHADOW-COLOR: #deeb9f; HEIGHT: 228px">
                <div>
    <table cellspacing="0" rules="all" border="1" id="dg" style="border-color:#D8E4F8;width:1225px;border-collapse:collapse;">
    <tr align="center" style="color:#404040;background-color:#E0E0E0;font-weight:normal;height:28px;">
    <th align="center" scope="col">
                                <input name="dg$ctl01$chkSelectAll" type="checkbox" id="dg_ctl01_chkSelectAll" onclick="chkSelectAll(this)" />
                            </th><th align="center" scope="col" style="font-weight:normal;">指參</th><th align="center" scope="col" style="font-weight:normal;">修改</th><th align="center" scope="col" style="font-weight:normal;">刪除</th><th scope="col" style="font-weight:normal;">註</th><th align="center" scope="col" style="font-weight:normal;">題名</th><th scope="col" style="font-weight:normal;"><a href="javascript:__doPostBack('dg','Sort$Cata27')" style="color:#404040;">出版者</a></th><th scope="col" style="font-weight:normal;"><a href="javascript:__doPostBack('dg','Sort$Cata26')" style="color:#404040;">ISBN</a></th><th align="center" scope="col" style="font-weight:normal;"><a href="javascript:__doPostBack('dg','Sort$acce06')" style="color:#404040;">館藏地(已外借/總冊數)</a></th><th scope="col" style="font-weight:normal;"><a href="javascript:__doPostBack('dg','Sort$acce04')" style="color:#404040;">索書號</a></th><th align="center" scope="col" style="font-weight:normal;"><a href="javascript:__doPostBack('dg','Sort$cata29')" style="color:#404040;">出版年</a></th><th scope="col" style="font-weight:normal;"><a href="javascript:__doPostBack('dg','Sort$cata03')" style="color:#404040;">更新日期</a></th><th scope="col" style="font-weight:normal;"><a href="javascript:__doPostBack('dg','Sort$bouser02')" style="color:#404040;">更新人員</a></th><th scope="col" style="font-weight:normal;"><a href="javascript:__doPostBack('dg','Sort$cata04')" style="color:#404040;">機讀格式</a></th><th class="hidden" scope="col">cata12</th>
    </tr><tr style="height:24px;">
    <td align="center">
                                <input name="dg$ctl02$chkSelect" type="checkbox" id="dg_ctl02_chkSelect" onclick="AddRemoveValues(this,&quot;1&quot;)" value="GYM         1" />
                            </td><td align="center">
                                        <input type="image" name="dg$ctl02$imgck" id="dg_ctl02_imgck" src="../images/addrbook.gif" style="border-width:0px;" />
                                    </td><td align="center">
                                            <input type="image" name="dg$ctl02$imgEdit" id="dg_ctl02_imgEdit" src="../images/edit.gif" style="border-width:0px;" />
                                        </td><td align="center">
                                            <input type="image" name="dg$ctl02$imgDelete" id="dg_ctl02_imgDelete" src="../images/delete.gif" onclick="javascript:return confirm('確認刪除麽?');" style="border-width:0px;" />
                                        </td><td align="center">圖</td><td align="left"><a href="#" onclick="openSyView('957-655-069-6');" alt="環境生物學">環境生物學</a></td><td align="center">科技</td><td align="center">957-655-069-6</td><td align="center">
                                <a id="dg_ctl02_lbtgcd" href="javascript:__doPostBack('dg$ctl02$lbtgcd','')" style="color:#0099CC;">圖書館(0/1)</a>
                            </td><td align="center">361.31/8753</td><td align="center">1993</td><td align="center">2010-02-10</td><td align="center">gym</td><td align="center">CMARC3</td><td class="hidden">環境生物學</td>
    </tr>
    </table>
    </div>
                </div>
      

  3.   

    哦,不是这个 是js 的代码 和 js 文件引用的部分
      

  4.   

    (⊙o⊙)…
    -----------------------------那你现在配置文件中 把ajaxpro 禁用下然后试下
      

  5.   

    有框架的现在就是要用ajaxpro 做个不刷新的功能
      

  6.   

    先试试把框架页中frameborder="0"
    而不能使用yes 或 no,如:
    frameborder="no"不过估计难说,
    试试非哥的。
    看看你的javascript是什么顺序执行的,有没有问题,
      

  7.   

    糊涂了吧http://topic.csdn.net/u/20091218/17/f8dd606b-2939-437d-b140-663c70995f9b.html
      

  8.   


    4000多行的JS,你调试一下试试?
    用 alert() 测试看看,感觉你这里貌似是粗心造成的。你是不是有的地方有类似这种定义var a=null;?
      

  9.   

    4000多行js是我网上下的 实现固定gridview行和列我现在准备改成用俩个updatepanel互相刷新 不用AjaxPro了
      

  10.   

    你看下生成的html 中 有ID  是 dg 的么
      

  11.   

       <table cellspacing="0" rules="all" border="1" id="dg" style="border-color:#D8E4F8;width:1225px;border-collapse:collapse;">
     
      

  12.   

    $("#dg").toSuperTable({ width: "100%", height: "228px", fixedCols: 6 })换成 alert(0);看看 是否还报错