Problem: SubReportProcessing Event will not fire

Problem: SubReportProcessing Event will not fire
This is an ASP.NET Web App

In the code below, it will not fire the SubReportProcessing Event.  I’ve stepped through and it hits the line of code, but does not fire the event….

it steps right through this line:
this.ReportViewer1.LocalReport.SubreportProcessing += new SubreportProcessingEventHandler(LocalReport_SubreportProcessing);

Any suggestions?   I’ve been troubleshooting this for days :'(

Thanks

Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
private string contactid;
 
        protected void Page_Load(object sender, EventArgs e)
        {
            contactid = Request.QueryString["ContactId"].ToString();
            this.ReportViewer1.LocalReport.SubreportProcessing += new SubreportProcessingEventHandler(LocalReport_SubreportProcessing);
            
        }
 
void LocalReport_SubreportProcessing(object sender, SubreportProcessingEventArgs e)
        {
            if (ObjectDataSource3.SelectParameters.Count > 0)
            {
                ObjectDataSource3.SelectParameters.RemoveAt(0);
            }
            if (ObjectDataSource3.SelectParameters.Count > 1)
            {
                ObjectDataSource3.SelectParameters.RemoveAt(1);
            }
 
 
            ObjectDataSource3.SelectParameters.Add(new Parameter("ContactId", TypeCode.String, contactid));
            ObjectDataSource3.SelectParameters.Add(new Parameter("GroupFilter", TypeCode.String, e.Parameters[0].Values[0]));
            e.DataSources.Add(new ReportDataSource("dsReferrals_tblReferrers", this.ObjectDataSource3));
        
        }

Solution: SubReportProcessing Event will not fire

I actually found the problem.  In the main report I forgot to specify the parameters to pass to the subreport.  It wasn’t “telling” me that by an error message or anything, but wasn’t going to the SubReportProcessing method either…  Once I added the parameters to pass to the subreport, it worked.