我有这个错误 "报表查看器Web控件需要Web表单上的System.Web.UI.ScriptManager。"
但我已经添加了这样的脚本:
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<div style="height: 139px">
<asp:Button ID="V1" runat="server" Text="View report" onclick="V1_Click"
Visible="False" />
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana"
Font-Size="8pt" Height="318px" InteractiveDeviceInfos="(Collection)"
ProcessingMode="Remote" WaitMessageFont-Names="Verdana"
WaitMessageFont-Size="14pt" Width="748px">
<ServerReport ReportPath="/my1"
ReportServerUrl="http://host/server" />
</rsweb:ReportViewer>
</div>
</form>
我做错了什么?