In a Radzen Data grid, I get this error with both dates and drop-downs
Here's the drop-down code
<RadzenDataGridColumn TItem="Puppy_Trick" Property="TrainerName" Title="Trainer">
Template Context="trick">
<RadzenDropDown TValue="int" Data=@Trainers TextProperty="TrainerName"
ValueProperty="ID" Value="@trick.TrainerID"/>
</Template>
</RadzenDataGridColumn>
Trainers contains a list of TrainerID and TrainerName
I'm trying to set the Trainer name on the puppy_trick which has the ID of the trainer. All the correct Trainer names are displayed, but I get the error after the page renders making the page inoperable.
With dates, it doesnt even render the page - I get the error before render
<RadzenDataGridColumn TItem="Puppy_Trick" Property="DateLearned" Filterable="true" Title="Date" Width="50px" TextAlign="TextAlign.Left">
<Template Context="trick">
<RadzenDatePicker @bind-Value="trick.DateLearned" Style="width:100%; display: block" Name="Level" />
</Template >
</RadzenDataGridColumn>
DateLearned is a DateTime attribute on the Puppy_Trick object
Other components work fine with the templates
I saw a couple other tickets that suggested refreshing the browser cache but doing so did not help.
Thanks in advance for your suggestions.
Note: My code was not being displayed above So I had to replace all < with < ;