[PR #1696] Created RadzenDropdown LoadDataOnOpen Parameter #2868

Closed
opened 2026-01-29 18:20:49 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/1696

State: closed
Merged: No


The issue:
On an app I have a dropdown component that uses RadzenDropdown and searchs on database for the options based on the Value type.
On a specific page of mass creation I have about 100 dropdowns that search on the dabase in generic ways, so it triggers about 100 SQL's in a very short time, what causes the database license to return an error for too many users.

The solution:
In order to not have to handle it manually every time I have this kind of scenario, I added a LoadDataOnOpen parameter to RadzenDropdown that basically does not trigger the LoadData on the dropdown initialization and runs it on the first time that the popup is oppened.

Also created a Demo for test on "/dropdown-load-data-on-open"

**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/1696 **State:** closed **Merged:** No --- The issue: On an app I have a dropdown component that uses RadzenDropdown and searchs on database for the options based on the Value type. On a specific page of mass creation I have about 100 dropdowns that search on the dabase in generic ways, so it triggers about 100 SQL's in a very short time, what causes the database license to return an error for too many users. The solution: In order to not have to handle it manually every time I have this kind of scenario, I added a LoadDataOnOpen parameter to RadzenDropdown that basically does not trigger the LoadData on the dropdown initialization and runs it on the first time that the popup is oppened. Also created a Demo for test on "/dropdown-load-data-on-open"
claunia added the pull-request label 2026-01-29 18:20:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2868