|
Prev: RS2005 Web ReportViewer: Unable to set parameters and ReportServerCredentials
Next: Counting Rows
From: Tim on 23 Dec 2005 17:16 I have a Report Server 2005 installation in which I am using the ReportViewer control to view the report. It is a drill through report and I am trying to capture the drillthrough event to set session variables. But the event doesn't fire ?? My code looks like :- protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { ReportParameter pParam = new ReportParameter("ClientID", "0"); ReportIs.ServerReport.SetParameters(new ReportParameter[] { pParam }); pParam = new ReportParameter("Security", "3"); ReportIs.ServerReport.SetParameters(new ReportParameter[] { pParam }); pParam = new ReportParameter("Start", StartIs.Text); ReportIs.ServerReport.SetParameters(new ReportParameter[] { pParam }); pParam = new ReportParameter("End", EndIs.Text); ReportIs.ServerReport.SetParameters(new ReportParameter[] { pParam }); ReportIs.Visible = true; ReportIs.Drillthrough += new DrillthroughEventHandler(DrillThrough); } } void DrillThrough(object sender, DrillthroughEventArgs e) { string temp = e.ToString(); } what am I doing wrong?
|
Pages: 1 Prev: RS2005 Web ReportViewer: Unable to set parameters and ReportServerCredentials Next: Counting Rows |