Event fires when the user drills down on a subreport.
Namespace CrystalDecisions.Web Assembly CrystalDecisions.Web (CrystalDecisions.Web.dll)
Visual Basic (Declaration)
Public Event DrillDownSubreport As CrystalDecisions.Web.DrillSubreportEventHandler
public event CrystalDecisions.Web.DrillSubreportEventHandler DrillDownSubreport
The event handler receives an argument of type DrillSubreportEventArgs containing data related to this event. The following DrillSubreportEventArgs properties provide information specific to this event.
This event will be raised when a user drills down into a subreport.
This example shows how to set the text of a label to the name of the subreport that was drilled down on.
Private Sub MyCrystalReportViewer_DrillDownSubreport _
(ByVal source As Object, _
ByVal e As CrystalDecisions.Web.DrillSubreportEventArgs) _
Handles CrystalReportViewer.DrillDownSubreport
Label.Text = e.CurrentSubreportName
End Sub
void crystalReportViewer_DrillDownSubreport (Object* sender, CrystalDecisions::Web::DrillSubreportEventArgs * e)
{
Label1->Text = e->CurrentSubreportName;
};
private void crystalReportViewer_DrillDownSubreport_(object source, CrystalDecisions.Web.DrillSubreportEventArgs e)
{
Label.Text = e.CurrentSubreportName;
}
Crystal Reports Basic for Visual Studio 2008
Supported since: Crystal Reports for Visual Studio .NET 2002