To reproduce this issue, create the Blazor Server template project, install Radzen and then add a Blazor page with the below code. Run it in debug, go the test page, then stop debug. All the exceptions will be thrown while the environment disposes. This isn't happening on all components, but certainly the three in this example.
@page "/Test"
<RadzenDropDown TValue=string Data=this.DropDownDataSource @bind-Value=this.DropDownValue />
<RadzenDataGrid TItem=DataGridItem Data=this.DataGridDataSource>
<Columns>
<RadzenDataGridColumn TItem=DataGridItem Property=@nameof(DataGridItem.ColumnValue) />
</Columns>
</RadzenDataGrid>
<RadzenDatePicker @bind-Value=this.DatePickerValue />
@code {
public Test()
{
this.DropDownDataSource = new List<string>{"%", "£/$/€"};
this.DataGridDataSource = this.DropDownDataSource.Select(d => new DataGridItem(d)).ToList();
}
public string? DropDownValue { get; set; }
public DateTime DatePickerValue { get; set; }
public IEnumerable<string> DropDownDataSource { get; set; }
public IEnumerable<DataGridItem> DataGridDataSource { get; set; }
public class DataGridItem
{
public DataGridItem(string value)
{
this.ColumnValue = value;
}
public string ColumnValue { get; set; }
}
}