报告视图错误“require system.web.UI.scriptmanager” [英] Report View Error "require system.web.UI.scriptmanager"

查看:112
本文介绍了报告视图错误“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>

< br $> 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”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆