在必须的ScriptManager需要它的任何控件之前出现 [英] The ScriptManager must appear before any controls that need it
问题描述
我创建了一个新的ASP.NET Web应用程序和调试后,我得到了服务器错误
I have created a new ASP.NET Web Application, and after debugging i got Server Error
ID为WaitingPopup1的控制需要在页面上一个ScriptManager。在必须的ScriptManager需要它的任何控件之前出现。
The control with ID 'WaitingPopup1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.
我是新与ASP.NET所以在这里我schould安装我的ScriptManager,在web.config?
I'm new with ASP.NET so where schould i install my ScriptManager, in the web.config?
推荐答案
脚本管理器是需要添加到您创建,该页面的控制
The script manager is a control that needs to be added to the page you have created.
看看这个:<一href=\"http://msdn.microsoft.com/en-us/library/bb398890%28v=vs.100%29.aspx\">http://msdn.microsoft.com/en-us/library/bb398890(v=vs.100).aspx
<body>
<form runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
...
</form>
</body>
这篇关于在必须的ScriptManager需要它的任何控件之前出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!