Error when restoring Enum filtering from settings #615

Closed
opened 2026-01-29 17:40:19 +00:00 by claunia · 0 comments
Owner

Originally created by @mcristelo on GitHub (Nov 2, 2022).

On the Enum filtering demo page, if an Enum column is filtered and then settings are saved and restored, it raises the error below:

System.InvalidCastException: Unable to cast object of type 'System.String' to type 'System.Int32'.
at Radzen.QueryableExtension.ToFilterString[T](IEnumerable`1 columns)

Here are my changes to the demo page to recreate this issue Gist

Originally created by @mcristelo on GitHub (Nov 2, 2022). On the Enum filtering demo page, if an Enum column is filtered and then settings are saved and restored, it raises the error below: System.InvalidCastException: Unable to cast object of type 'System.String' to type 'System.Int32'. at Radzen.QueryableExtension.ToFilterString[T](IEnumerable`1 columns) Here are my changes to the demo page to recreate this issue [Gist](https://gist.github.com/mcristelo/538e096238cba9207ebcb34420f3bae0)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#615