Template support for RadzenRadioButtonListItem #1631

Closed
opened 2026-01-29 17:56:30 +00:00 by claunia · 1 comment
Owner

Originally created by @FilipVanBouwel on GitHub (Feb 20, 2025).

Currently you can only specify a Text property, but I have use cases where people need to fill in data when selecting a specific option and I would like to put those inputs inside the text of the RadzenRadioButtonListItem.

For example, let's say the user has to choose between using an automatic date range or specifying dates manually later on, I would like to give the following radio buttons :

  • automatically assign dates between {start date} and {end date}
  • I will assign my own dates

I would like to be able to use date selectors for {start date} and {end date}.
This can only be done when RadzenRadioButtonListItems supports custom templates.

Cfr. https://forum.radzen.com/t/template-support-for-radzenradiobuttonlistitem/19786/1

Originally created by @FilipVanBouwel on GitHub (Feb 20, 2025). Currently you can only specify a Text property, but I have use cases where people need to fill in data when selecting a specific option and I would like to put those inputs inside the text of the RadzenRadioButtonListItem. For example, let's say the user has to choose between using an automatic date range or specifying dates manually later on, I would like to give the following radio buttons : - automatically assign dates between {start date} and {end date} - I will assign my own dates I would like to be able to use date selectors for {start date} and {end date}. This can only be done when RadzenRadioButtonListItems supports custom templates. Cfr. https://forum.radzen.com/t/template-support-for-radzenradiobuttonlistitem/19786/1
Author
Owner
@enchev commented on GitHub (Feb 27, 2025): There is already such property: https://github.com/radzenhq/radzen-blazor/blob/master/Radzen.Blazor/RadzenRadioButtonListItem.cs#L49 https://github.com/radzenhq/radzen-blazor/blob/master/Radzen.Blazor/RadzenRadioButtonList.razor#L29-L34
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1631