Error on Filters when loading settings for a numeric property

[Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer] Exception: System.InvalidOperationException: Unable to set property 'Value' on object of type 'Radzen.Blazor.RadzenNumeric1[[System.Nullable1[[System.Int32, System.Private.CoreLib,

This happens when loading settings for a datagrid in a numeric property filter, when I set a value in the filter using Simple Filters, the error is shown when loading the settings again.

Edit:
I managed to workaround by instead using a filtertemplate with a RadzenTextBox, but it would be preferable not to add it for each column.

Please advice

Just tried this and didn't get any errors:

Difference I see is I have a headertemplate on that column. Other than that, its an INT property of the object.

image

Found the problem.

I am used to implement Newtonsonft serializer and was implementing it to store and load the settings. Changed to System.Text.Json and the issue was fixed.

Hi @enchev,

I'm getting the same issue. I'm saving settings in cosmosDB instead of local storage.

I have a nullable int property. when I set a filter to this and tried to reload it from saved setting, following error is shown.

But if I overwrite filter value on the setting it is working.
column.FilterValue = 1;