Back to parent report via drillthrough event
Can someone tell me what im missing. I have one parameter setup to jump to the next report which works fine. The issue is when I hit the button call "back to parent report" on the report viewer itself, I get a error saying some missing parameters or cridentals are missing, How is that so? Below I have my reportdatasource name and reportdatasource value. Is this a bug, or im doing something wrong, can someone assist me. thanks in advance.
case "Example.rdlc":
DateTime DateTime = Convert.ToDateTime(report.OriginalParametersToDrillthrough[0].Values[0].ToString());
genericDataSet.EnforceConstraints = false;
this.report.ReportEmbeddedResource = report.ReportEmbeddedResource;
this.rDataSource.Name = "Datatable";
this.rDataSource.Value = this.BindingSource.Filter = "TimeStamp = #" + DateTime + "#";
this.rDataSource.Value = this.BindingSource;
this.titleParameter = new ReportParameter("Title", this.BookTitle);
this.report.SetParameters(new ReportParameter[] { titleParameter });
this.report.DataSources.Add(rDataSource);
this.report.Refresh();
break;
Answers (1)
0
hi,
As I understand your prob, you can put the RFV on the user control itself. if it is conditional according to page on which you are using web user control then please describe your prob in more detail.
0
are the textboxes within the webuser control or independant from it?