Public Sub New() txtReportTitle.Value = "Active Employees by Location" txtSubtitle.Value = Me.ReportParameters("CompanyName").Value InitializeComponent()End SubHello Telerik Team,
I have a requirement where in i need to pass multiple filter values to a report.I am using master detail reports using Subreports .
But as of now..i am able to provide only single filter to the detail report.
Telerik.Reporting.Data.Filter fltrVal = new Telerik.Reporting.Data.Filter();
fltrVal.Expression = "=Fields.ItemID";
fltrVal.Operator = Telerik.Reporting.Data.FilterOperator.Equal;
fltrVal.Value = "=1000";
this.Filters.Add(fltrVal);
How do i pass multiple values to this filter.I have an array of values to be passed.
I appreciate your help. and support.
Thank you
Smith
var reportViewerModel = reportViewer.DataContext as ReportViewerModel; if (reportViewerModel.State.Equals("ViewerPageState")) { reportViewerModel.PrintReportCommand.Execute(null); }this.DataSource = new List<Test>()
{
new Test(){Name = "hasan"},
new Test(){Name = "Ali"}
};
3rd report just contains two sub report objects in its detail section.
When I run the application I see only one of the sub reports. Can someone check the source at http://www.filedropper.com/telerikreporttest and tell me what the problem is?
If I check preview of individual report, they show the data perfectly fine but something wrong happens on runtime.
Also the behavior seems unpredictable because sometimes it shows data from both the reports but repeats the static text as many times as there are rows in the second subreport. This happens if I change the order of subreports in the detail seciton of Master report.
Thanks