Visual Studio 2008 and Report viewer 9.0 with Update Panel ( Neither the VS 2005 nor the VS 2008 version of the report viewer is supported with ASP.NET AJAX)
This kind of Error we can Handle just write a Trigger for that so there no Scope to Get error this kind of Error
Place RepoViewer in Update Panel and Write the Postback Trigger.
<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </cc1:ToolkitScriptManager>
       <asp:UpdatePanel ID="UpdatePanel1" runat="server">
         <Triggers > 
            <asp:PostBackTrigger ControlID="btnGetReport" />
         </Triggers> 
        <ContentTemplate> 
<asp:Button ID="btnGetReport" runat="server" Text="View Report"  
            onclick="btnGetReport_Click" /> 
 <table><tr><td>
     <rsweb:ReportViewer ID="MyReportViewer" runat="server" ProcessingMode="Remote" Width="900px"  >
    </rsweb:ReportViewer>
     </td></tr></table> 
</ContentTemplate>
    </asp:UpdatePanel>
Thank you sir. You saved me hours and frustration.
ReplyDeleteThe Garcinia Cambogia is said to suppress a persons
ReplyDeleteappetite. The majority of concocted foods don't include very much
fiber. Together with all the different fat loss medications entering into the market--
and quickening discussion-- some people are likewise resorting
to diet supplement to aid weight loss.
My site :: cheap hotels