This documentation is archived and is not being maintained.

SubreportProcessingEventHandler Delegate

Represents the method that will handle the SubreportProcessing event of a ReportViewer.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Public Delegate Sub SubreportProcessingEventHandler ( _
	sender As Object, _
	e As SubreportProcessingEventArgs _
Dim instance As New SubreportProcessingEventHandler(AddressOf HandlerMethod)
/** @delegate */
public delegate void SubreportProcessingEventHandler (
	Object sender, 
	SubreportProcessingEventArgs e
JScript supports the use of delegates, but not the declaration of new ones.



The object that raised the event.


A SubreportProcessingEventArgs object containing information about the event.

You must supply data for any data sources used in subreports. To do this, you must supply an event handler for the subreport processing event.

For more information about handling events, see Consuming Events.

Please see the SubreportProcessing method of the LocalReport class for an example.