There is an issue in telerik_ReportViewer_ParametersArea, function fill(newParameters) which stops reports with parameters working correctly.
The call to /api/reports/clients/{clientId}/parameters returned correctly, but the subsequent call to /api/reports/clients/{clientId}/instances was not passing the correct parameters in the report source, only a single "undefined" id with the value of the last parameter.
this.id is undefined, so the array ends up with a single item. The correct version is:
The array now contains the correct parameter names and values.
The call to /api/reports/clients/{clientId}/parameters returned correctly, but the subsequent call to /api/reports/clients/{clientId}/instances was not passing the correct parameters in the report source, only a single "undefined" id with the value of the last parameter.
if
(hasValue) {
recentParameterValues[
this
.id] =
this
.value;
}
this.id is undefined, so the array ends up with a single item. The correct version is:
if
(hasValue) {
recentParameterValues[
this
.iD] =
this
.value;
}
The array now contains the correct parameter names and values.