异常详细信息: System.InvalidOperationException: The control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 |
堆栈跟踪:
[InvalidOperationException: The control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.] System.Web.UI.UpdatePanel.get_ScriptManager() +200 System.Web.UI.UpdatePanel.RegisterPanel() +88 System.Web.UI.UpdatePanel.OnInit(EventArgs e) +17 System.Web.UI.Control.InitRecursive(Control namingContainer) +345 System.Web.UI.Control.InitRecursive(Control namingContainer) +196 System.Web.UI.Control.InitRecursive(Control namingContainer) +196 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1793 |
版本信息: Microsoft .NET Framework 版本:2.0.50727.42; ASP.NET 版本:2.0.50727.42