Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/312.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 报表查看器Web控件需要Web窗体上的System.Web.UI.ScriptManager_C#_Asp.net_.net_Report Viewer2012 - Fatal编程技术网

C# 报表查看器Web控件需要Web窗体上的System.Web.UI.ScriptManager

C# 报表查看器Web控件需要Web窗体上的System.Web.UI.ScriptManager,c#,asp.net,.net,report-viewer2012,C#,Asp.net,.net,Report Viewer2012,我对C#中的ReportViewer模块有点问题 我已使用此处提供的说明将报告添加到我的网站:。它使用了VisualStudio的design viewer方面,使用起来很糟糕,似乎让我没有一些代码来运行它 当我尝试加载页面时,出现以下错误: 报表查看器Web控件需要Web窗体上的System.Web.UI.ScriptManager ReportViewer添加到页面的代码似乎是(我找不到对ReportViewer的任何其他引用): 我觉得我缺少了大量配置ReportViewer的代码,但

我对C#中的ReportViewer模块有点问题

我已使用此处提供的说明将报告添加到我的网站:。它使用了VisualStudio的design viewer方面,使用起来很糟糕,似乎让我没有一些代码来运行它

当我尝试加载页面时,出现以下错误:

报表查看器Web控件需要Web窗体上的System.Web.UI.ScriptManager

ReportViewer添加到页面的代码似乎是(我找不到对ReportViewer的任何其他引用):


我觉得我缺少了大量配置ReportViewer的代码,但我无法找出我缺少了什么

我已经很好地搜索了什么,但找不到什么


提前感谢您的帮助

将此添加到您的页面

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>

将此添加到您的页面

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>