报告视图错误“require system.web.UI.scriptmanager”

编程入门 行业动态 更新时间:2024-10-13 02:19:14
本文介绍了报告视图错误“require system.web.UI.scriptmanager”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好 我有这个语法错误,请你提供错误。在此先感谢 ---- 报表查看器Web控件需要Web表单上的System.Web.UI.ScriptManager。 描述:执行当前Web请求期间发生了未处理的异常。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。 异常详细信息:Microsoft.Reporting.WebForms.ScriptManagerNotFoundException:报表查看器Web控件需要Web表单上的System.Web.UI.ScriptManager。 源错误: [没有相关的源代码行] 源文件:c:\ Users \ UIS \ AppData\Local\Temp\Temporary ASP.NET Files \\\ancy_int\26d25c6d\f7c3f36a\App_Web_0pqltktq.4.cs行:0 -----

hi all I have this syntax error please could you provide the error. thanks in advance ---- The Report Viewer Web Control requires a System.Web.UI.ScriptManager on the web form. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: Microsoft.Reporting.WebForms.ScriptManagerNotFoundException: The Report Viewer Web Control requires a System.Web.UI.ScriptManager on the web form. Source Error: [No relevant source lines] Source File: c:\Users\UIS\AppData\Local\Temp\Temporary ASP.NET Files\nancy_int\26d25c6d\f7c3f36a\App_Web_0pqltktq.4.cs Line: 0 -----

推荐答案

您好, 您缺少 ScriptManager 脚本... 尝试在客户页面插入: Hi, You lack a ScriptManager script... Try to insert this in client page: <asp:scriptmanager id="ScriptManager1" runat="server" enablepagemethods="true" xmlns:asp="#unknown" />

如下图所示...

As shown below...

<body> <form id="form1" runat="server"> <asp:scriptmanager id="ScriptManager1" runat="server" enablepagemethods="true" xmlns:asp="#unknown" /> <%--...Some code here.... --%> </form> </body>

b $ b 希望这可以帮助... 不要忘记投票,如果有帮助... 问候, Al

Hope this could help... Do not forget to vote if could help... Regards, Al

太棒了!它适用于我。谢谢。 great! it works for me.thanks.

更多推荐

报告视图错误“require system.web.UI.scriptmanager”

本文发布于:2023-11-24 23:45:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1627400.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:视图   错误   报告   require   scriptmanager

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!