Load DropDownList Data on open instead of on initialization

1 Answer 179 Views
DropDownList
Andrei
Top achievements
Rank 1
Andrei asked on 31 May 2022, 05:23 PM

Hello,

Is there any way to load data for a the DropDownList when the Dropdown gets opened, instead of when it gets initialized.

I've looked over examples and docs and also tried a workaround with virtualization, but even that loads the first page on intialization.

I  have a UI with multiple DropDownList instances on the page that might not be interacted with, and I'd like to defer loading the data until the user actually interacts with them. 

Thank you!

1 Answer, 1 is accepted

Sort by
1
Accepted
Nadezhda Tacheva
Telerik team
answered on 03 Jun 2022, 06:54 AM

Hi Andrei,

In version 3.6.0 of Telerik UI for Blazor we will expose an OnOpen event for the DropDownList and other dropdown components. You may then handle that event to populate the data in the DropDownList.

I have added your vote to keep proper track of the requests for this feature. You may as well follow the item to receive email notifications when its status changes.

Regards,
Nadezhda Tacheva
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
DropDownList
Asked by
Andrei
Top achievements
Rank 1
Answers by
Nadezhda Tacheva
Telerik team
Share this question
or