<RadzenGridColumn TItem="Contact" Title="Primary" Bubble="false" Filterable="false" Sortable="false"
TextAlign="TextAlign.Center" Width="60px">
<Template Context="data">
<RadzenCheckBox @bind-Value="@data.IsPrimary" TValue="bool"
Change="@(async (args) => { await HandlePrimaryCheckBox(data, args); })" />
</Template>
</RadzenGridColumn>
Browser console:
Error: System.InvalidOperationException: Unable to set property 'Form' on object of type 'Radzen.Blazor.RadzenCheckBox1[[System.Boolean, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. The error was: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Radzen.Blazor.RadzenGridRow.AddComponent(IRadzenFormComponent component) at Radzen.FormComponent
1.set_Form(IRadzenForm value)
at Microsoft.AspNetCore.Components.Reflection.MemberAssignment.PropertySetter`2.SetValue(Object target, Object value)
at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.g__SetProperty|2_0(Object target, IPropertySetter writer, String parameterName, Object value)
--- End of inner exception stack trace ---