无法找到事件的ReportViewer呈现完整 [英] Can't find ReportViewer event for rendering complete

查看:96
本文介绍了无法找到事件的ReportViewer呈现完整的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图触发一个事件时,ReportViewer控件完成渲染(删除自定义进度/状态指示器)。我已经探讨了ReportViewer控件的事件和我似乎无法找到一个实际触发报告完成时。

I'm trying to fire an event (to remove a custom progress/status indicator) when the ReportViewer control is finished rendering. I've explored the events for the ReportViewer control and I can't seem to find one that actually fires when the report is complete.

我使用Visual Studio 2010和ASP.NET 4。

I'm using Visual Studio 2010 and ASP.NET 4.

感谢您的帮助。

推荐答案

一个选择是连续轮询的 isLoading 客户端API的ReportViewer财产。如果isLoading属性返回true继续显示进度指示器,如果返回false隐藏并停止投票。

One option would be to continuously poll the isLoading property of the client side ReportViewer api. If the isLoading property returns true continue showing the progress indicator, if it returns false hide it and stop polling.

我还没有尝试过自己,但根据文档看起来像它应该工作。

I haven't tried it myself but according to the documentation is look like it should work.

这篇关于无法找到事件的ReportViewer呈现完整的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆