找不到ReportViewer事件以完成渲染 [英] Can't find ReportViewer event for rendering complete

查看:70
本文介绍了找不到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 属性rel ="noreferrer">客户端ReportViewer api .如果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天全站免登陆