As you are having Angular application, my recommendation is to use the first provided approach, i.e. by using a custom parameter editor
. I recommend it because at the moment you can only modify the content of the package in node_modules
and edit the viewer's JS logic with your own, but that would be troublesome to deploy or to upgrade.
I'm attaching a sample Angular 7 application along with a REST Service project (storing a sample report definition inside Reports
folder) demonstrating the approach for creating custom parameter editor with added validation logic inside the onChange()
event. Please note this is just an example where if you select a date before January 1 or after February 2 it would show a validation message "Date is not in range".
To run it successfully, you need to open the WebApplication1 project and run the Upgrade Wizard to upgrade/downgrade Telerik Reporting references to your current installed and then run the project (it would run on http://localhost:60963/api/reports/
URL). Then open the New Folder, where the Angular app is and run npm install
and ng serve
. The project would run on http://localhost:4200/ URL.
I hope you'll find it useful.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items