I want to provide Custom datasets alongside of added dropdown that will be bind by DynamicComponent as per my need.
How to achieve this using RenderFragment?
I've tried but it's not worked yet I'm working on multiple components on the same page with that dropdown all are rendered using DynamicComponent.
Please share some example codes, if possible, that will be helpful.

Vaishali VishwakarmaPosted Jun 6, 2024, 1:00 PM
Thanks, Jayraj I want this RenderFragment on a button click, but it's not working i have tried to debug it also but not getting it on that function.
Jayraj ChhayaPosted Jun 6, 2024, 11:51 AM
To render a RadzenDropdown with custom datasets using DynamicComponent in Blazor, you can create a RenderFragment that defines the dropdown's structure and behavior.
In this example,
customDatarepresents your custom dataset. You can then useRenderDropdown()within your DynamicComponent to render the RadzenDropdown with the custom dataset. Ensure that the necessary Radzen components are imported and configured in your project for this to work seamlessly.