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)

Syntax

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

Parameters

  • sender
    The object that raised the event.

Remarks

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.

Example

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

See Also

Reference

Microsoft.Reporting.WebForms Namespace