We decided to purchase telerik reporting based on the superior angular web viewer, report designer, and exporting features we found. I had some pretty solid requirements that i had to follow. One of which was using our own custom filtering controls, look, and fill.
I also wanted to use the instanceReportSource methodology and filter my data and attach to the datasource on the report based on each reload of the web viewer.
We used the report designer inside of visual studio to do all of our design work.
So with that said i had to do a couple of things, to get our custom filtering to work through angular web viewer.
1. On report source "report" parameter i had to JSON.stringify a model that contained any filter changes and the name of the report.
getReportSource() {
this.filter.Report = 'Company.Product.Domain.FinishedGoodsTransactionHistory.Reports.TransactionHistory';
return JSON.stringify(this.filter);
}
2. I then needed to build a custom resolver, part of implementing the IReportResolver telerik interface is the "resolve(string report) method", this method is called