Databinding CheckboxList

Hi @DragonSpark,

The value of the component can be bound as in our example however if you want to populate items from database you will need to manually loop your database values and add the items:

        <RadzenCheckBoxList @bind-Value="values" TValue="int">
            <Items>
                @foreach(var item in yourList)
                {
                    <RadzenCheckBoxListItem Text="@item" Value="@item" />
                }
            </Items>
1 Like