大家好 我有这个语法错误,请你提供错误。在此先感谢 ---- 报表查看器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”
发布评论