Good evening, I managed to create a report in Report Designer and present data using a SQL Server wiht connectionString, but I'm having a little difficulty passing filter and display only the filtered data. What is missing in the code below so that the filter would start working.
private void Window_Loaded_1 (object sender, RoutedEventArgs e)
{
Telerik.Reporting.UriReportSource Telerik.Reporting.UriReportSource ur = new ();
ur.Uri = System.IO.Path.Combine (Environment.CurrentDirectory "Report1.trdx");
myReport.ReportSource = ur;
/ / Need to filter
/ *
Telerik.Reporting.Filter filter1 Telerik.Reporting.Filter = new ();
filter1.Expression = "Fields.Pro_codigo =";
filter1.Operator = Telerik.Reporting.FilterOperator.Equal;
filter1.Value = "= 00002";
* /
}
graciously
André