1
Answer

Back to parent report via drillthrough event

David Smith

David Smith

14y
4.4k
1
 
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
Pankaj Gupta

Pankaj Gupta

NA 118 0 16y
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
Bechir Bejaoui

Bechir Bejaoui

NA 20.1k 5.3m 16y

are the textboxes within the webuser control or independant from it?