Search code examples
c#asp.netreporting-servicesreport-viewer2010

Why ReportViewer in asp.net doesn't have RenderingComplete event?


I'm using ReportViewer in ASP.NET. In msdn it says that ReportViewer hase a RenderingComplete event. Here is the documentation: http://msdn.microsoft.com/en-us/library/microsoft.reporting.winforms.reportviewer.renderingcomplete

But I can't find it in event list of ReportViewer in Visual Studio 2010. What is the problem?


Solution

  • There is no real "problem". This event only exists for the WinForms version of the ReportViewer. For the WebForms version there is no analogous member. Since you mention you're using ASP.NET, you're using the latter ReportViewer

    It wouldn't make sense for WebForms to have one, because events in the WebForms work somewhat differently than in WinForms.