Unplanned
Last Updated: 06 Sep 2023 13:22 by ADMIN
samar
Created on: 03 Jul 2023 08:22
Type: Bug Report
3
Preview button can be clicked before the data source of a cascading parameter is updated

In a cascading dropdown, we noticed that the child dropdown is not populated until the parent dropdown is closed after selection. There is a second delay between selecting the parent dropdown and populating the child dropdown. Between this small interval of time, the preview button can be clicked, as it is not disabled, due to which wrong values (previously selected values) are passed in the parameters resulting in incorrect results.

2 comments
ADMIN
Dimitar
Posted on: 06 Sep 2023 13:22

Hello,

As a workaround, until we resolve the problem with the built-in controls, you may implement custom parameter editors where you manually disable the preview button for a certain period of time after the value of your report parameters change.

Please refer to the Creating and Using Custom Parameter Editors in HTML5 ReportViewer - Telerik Reporting article for details on how to use custom editors.

I hope this will help.

Regards,
Dimitar
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
BRINK'S
Posted on: 31 Aug 2023 08:08

We've exactly the same problem. We are using the "Telerik.Reporting.Services.AspNetCore" package, version  17.1.23.718 (actually the latest). 

We need to wait a short time before clicking the validate button otherwise as Samar said, wrong parameters are send.