[PR #2190] [MERGED] Support deserializing unsigned integers when loading DataGridSettings from local storage #3119

Open
opened 2026-01-29 18:22:00 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/2190
Author: @SimonLissack
Created: 6/19/2025
Status: Merged
Merged: 6/20/2025
Merged by: @enchev

Base: masterHead: support-deserializing-to-uint


📝 Commits (1)

  • 39cb3ff Support deserializing unsigned integers when loading filter column values

📊 Changes

1 file changed (+12 additions, -0 deletions)

View changed files

📝 Radzen.Blazor/RadzenDataGrid.razor.cs (+12 -0)

📄 Description

When loading DataGridSettings from local storage, an invalid cast exception can occur if the type being filtered is an unsigned integer (the current behaviour will deserialize the value as a double)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/2190 **Author:** [@SimonLissack](https://github.com/SimonLissack) **Created:** 6/19/2025 **Status:** ✅ Merged **Merged:** 6/20/2025 **Merged by:** [@enchev](https://github.com/enchev) **Base:** `master` ← **Head:** `support-deserializing-to-uint` --- ### 📝 Commits (1) - [`39cb3ff`](https://github.com/radzenhq/radzen-blazor/commit/39cb3ffa4ea1b225f8991501d11c938d0ba41381) Support deserializing unsigned integers when loading filter column values ### 📊 Changes **1 file changed** (+12 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/RadzenDataGrid.razor.cs` (+12 -0) </details> ### 📄 Description When loading `DataGridSettings` from local storage, an invalid cast exception can occur if the type being filtered is an unsigned integer (the current behaviour will deserialize the value as a double) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:22:00 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#3119