dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online MembersDinesh Kudale
musathik
NIRVANA
sunil kumar sharma
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




Forums » .NET » ASP.NET »

ReportViewer inside UpdatePanel not working


Posted Date: 08 Sep 2012      Posted By:: Naseer     Member Level: Bronze    Member Rank: 2056     Points: 4   Responses: 2




Has anyone been able to get the ReportViewer to work correctly inside an UpdatePanel?

For me the report renders fine on the initial whole-page refresh, but when I click the next page button the next page renders but doesn't allow me to navigate through the pages anymore. The toolbar says "(blank) of 0" pages and the arrow toolbar buttons for navigating between pages are all disabled.

Thanks in advance
Naseer




Responses

#688035    Author: Pawan Awasthi      Member Level: Diamond      Member Rank: 4     Date: 08/Sep/2012   Rating: 2 out of 52 out of 5     Points: 2

Hai Naseer,
In general, they both will not work asboth uses the same async methods for the asynchronous behaviour.
So you need to write the asyncpostbacktrigger for your update panel like below:

<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnRefresh" EventName="Click" />
</Triggers>

Also you can go through the below posts for other alternative answers and try them:

http://forums.asp.net/t/1044194.aspx/2/10

Hope it will be helpful to you.

Regards,
Pawan Awasthi(DNS MVM)
+91 8143683708 (pawansoftit@gmail.com)
Outstanding Contribution Award..NTT Data Inc



 
#688116    Author: Naseer      Member Level: Bronze      Member Rank: 2056     Date: 09/Sep/2012   Rating: 2 out of 52 out of 5     Points: 1

thanks for your reply, i am not using any button here

<cc1:TabPanel ID="TabPanelEnquiries" runat="server" TabIndex="1" HeaderText="TabPanel2">
<ContentTemplate>
<asp:UpdatePanel ID="uplEnquiries" runat="server" ChildrenAsTriggers="true">
<ContentTemplate>
<asp:Label ID="lblenquiry" runat="server" Text="View ReportingTo:" Width="50%">
<asp:CheckBox ID="Chkenquiry" runat="server" Width="50%" OnCheckedChanged="Chkenquiry_checked"
AutoPostBack="true" />
</asp:Label>
<rsweb:ReportViewer ID="rptvrEnquiries" runat="server" Width="100%" SizeToReportContent="true"
AsyncRendering="true">
</rsweb:ReportViewer>
</ContentTemplate>


</asp:UpdatePanel>


</ContentTemplate>
<HeaderTemplate>
<asp:HyperLink ID="HyperLinkStates" runat="server" NavigateUrl="~/frmCommonReports.aspx?tab=Enquiries">Enquiries</asp:HyperLink>
</HeaderTemplate>

</cc1:TabPanel>

thanks in advance



 
Post Reply
You must Sign In to post a response.

Next : Crystal Report Issues: "The report you requested requires further information"
Previous : Error in file Upload/delete
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.