简体   繁体   English

在选项卡之间切换时保持选项卡内容

[英]Persisting tab contents when switching between tabs

My application has a reports tab where reports are displayed using Reportviewer. 我的应用程序有一个“报告”选项卡,其中使用Reportviewer显示报告。 If the user switches to a different tab after loading a report in the reportviewer, the contents get reset while navigating back to Reports tab. 如果用户在将报告加载到reportviewer中后切换到其他选项卡,则在导航回“ Reports”选项卡时将重置内容。 Is there a way to retain the current report? 有没有办法保留当前报告?

Is it possible that there is code refreshing the ReportViewer control on the tab change? 是否可能有代码刷新选项卡更改上的ReportViewer控件? This will cause the report to refresh during the tab switch. 这将导致在选项卡切换期间刷新报表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM