Hello all,
I have a problem to show AjaxLoadingPanel when loading report in SSRS ReportViewer. I created a simple webpage that contains only one button and one report viewer control. OnClick event of the button, I load the report. It working properly without AjaxManager.
With AjaxManager, I ended with this error message: "Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'rptViewer_ReportViewer'. If it is being updated dynamically then it must be inside another UpdatePanel."
I need to use AjaxManager as I need to show loading panel while report was generating. Following is the markup of my page.
FYI: In my real project, asp:Panel (pnlMain) is the wrapper of Master Page ContentPlaceHolder. My main intention is to show loading panel on every postback of the whole project.
Please advice.
Thanks in advanced,
Robin
I have a problem to show AjaxLoadingPanel when loading report in SSRS ReportViewer. I created a simple webpage that contains only one button and one report viewer control. OnClick event of the button, I load the report. It working properly without AjaxManager.
With AjaxManager, I ended with this error message: "Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'rptViewer_ReportViewer'. If it is being updated dynamically then it must be inside another UpdatePanel."
I need to use AjaxManager as I need to show loading panel while report was generating. Following is the markup of my page.
<form id="form1" runat="server"> <%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rvweb" %> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" EnablePartialRendering="true"> </telerik:RadScriptManager> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"> </telerik:RadAjaxLoadingPanel> <telerik:RadSkinManager ID="radSkinManager1" runat="server" Skin="WebBlue"></telerik:RadSkinManager> <telerik:RadAjaxManager ID="ajaxMgr1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="pnlMain"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="pnlMain" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <div> <asp:Panel ID="pnlMain" runat="server" Style="height: 100vh;"> <asp:Button ID="btnViewReport" runat="server" Text="View" OnClick="btnViewReport_Click" /> <hr /> <rvweb:ReportViewer ID="rptViewer" runat="server" AsyncRendering="false" Height="100%" Width="100%" ProcessingMode="Remote" ShowZoomControl="false" SizeToReportContent="true" CssClass="reportBody" PageCountMode="Actual" ShowPrintButton="true" ExportContentDisposition="AlwaysInline"> </rvweb:ReportViewer> </asp:Panel> </div></form>FYI: In my real project, asp:Panel (pnlMain) is the wrapper of Master Page ContentPlaceHolder. My main intention is to show loading panel on every postback of the whole project.
Please advice.
Thanks in advanced,
Robin
