Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net ID为';定时器1和x27;页面上需要ScriptManager。ScriptManager必须出现在任何需要它的控件之前。_Asp.net_Vb.net_Visual Studio - Fatal编程技术网

Asp.net ID为';定时器1和x27;页面上需要ScriptManager。ScriptManager必须出现在任何需要它的控件之前。

Asp.net ID为';定时器1和x27;页面上需要ScriptManager。ScriptManager必须出现在任何需要它的控件之前。,asp.net,vb.net,visual-studio,Asp.net,Vb.net,Visual Studio,嗨,我正在写一些visual basic代码,我决定在我正在制作的应用程序中添加一个计时器。所以我的代码没有红线,所以我按run,然后它开始在浏览器中打开。但随后我得到一条消息:“/”应用程序中出现服务器错误 ID为“Timer1”的控件需要页面上有ScriptManager。ScriptManager必须出现在任何需要它的控件之前。 描述:执行当前web请求期间发生未处理的异常。请查看堆栈跟踪以了解有关错误的更多信息以及错误在代码中的起源 异常详细信息:System.InvalidOperat

嗨,我正在写一些visual basic代码,我决定在我正在制作的应用程序中添加一个计时器。所以我的代码没有红线,所以我按run,然后它开始在浏览器中打开。但随后我得到一条消息:“/”应用程序中出现服务器错误

ID为“Timer1”的控件需要页面上有ScriptManager。ScriptManager必须出现在任何需要它的控件之前。 描述:执行当前web请求期间发生未处理的异常。请查看堆栈跟踪以了解有关错误的更多信息以及错误在代码中的起源


异常详细信息:System.InvalidOperationException:ID为“Timer1”的控件需要页面上有ScriptManager。ScriptManager必须出现在任何需要它的控件之前。

只需将ScriptManager添加到页面顶部即可。。。我觉得很有趣,你想在asp.net应用程序中添加一个计时器。我不再这么做了,但是你能帮我解决其他问题吗