Dim _Report As New TSVStandardReports.Rpt_TelerikCustomersWithTwentyAccountsDirectCast(_Report.DataSource, Telerik.Reporting.SqlDataSource).ConnectionString = sConnectionString_Report.ReportParameters("BranchID").Value = "42"ReportViewer1.Report = _Reportpublic Report1() { /// <summary> /// Required for telerik Reporting designer support /// </summary> InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // this.NeedDataSource += new System.EventHandler(this.Report1_NeedDataSource); } private void Report1_NeedDataSource(object sender, EventArgs e) { Telerik.Reporting.Processing.Report report = (Telerik.Reporting.Processing.Report)sender; int advertiserID = int.Parse(report.Parameters["advertiserID"].Value.ToString()); DateTime dtStartDate = DateTime.Parse(report.Parameters["startDate"].Value.ToString()); DateTime dtEndDate = DateTime.Parse(report.Parameters["endDate"].Value.ToString()); report.DataSource = (GetBannersByMonthByAdvertiser(advertiserID, dtStartDate, dtEndDate)).Tables[0]; }
Hello,
We are using version Q2 2011 of telerik reporting.
I am using the Silverlight report viewer in my application and we are using our own controls outside of the viewer to feed in report parameters. This has worked well so far and the BeginRender event is working fine.
However we now have a requirement for a report that drills through to another report and I need to update our criteria selectors to reflect the new parameter values that are used. When the drill through report starts to load the BeginRender event fires on the client so I know that they have drilled through, but the args that are passed do not contain the parameters that were used.
If there any way to get the parameter values? Will this be addressed in a future release?
Any help would be appreciated.
Thanks,
Travis