微软JScript运行时错误:'SYS'未定义 [英] Microsoft JScript runtime error: 'Sys' is undefined

查看:230
本文介绍了微软JScript运行时错误:'SYS'未定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我与它下面的code的页面:

I have a page with the following code on it:

<script type="text/javascript" language="javascript">
    /// <reference name="MicrosoftAjax.js" />

    Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);

    function EndRequestHandler(sender, args)
    {
        ToggleTimeDiv();
    }
</script>

在页面加载我得到以下错误:

When the page loads I get the following error:


  • Microsoft JScript中的运行时错误:'SYS'未定义

我使用Visual Studio 2008标准版。是什么原因造成这个错误?

I'm using Visual Studio 2008 Standard Edition. What is causing this error?

推荐答案

&LT;脚本&GT; 阻止你前进的的ScriptManager?

Is your <script> block ahead of your ScriptManager?

<一个href=\"http://encosia.com/2007/08/16/updated-your-webconfig-but-sys-is-still-undefined/\">http://encosia.com/2007/08/16/updated-your-webconfig-but-sys-is-still-undefined/

这篇关于微软JScript运行时错误:'SYS'未定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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