Reopened: RadzenDataGrid data filtering Int32 type column raizes an exception "System.FormatException: Input string was not in a correct format" #464

Closed
opened 2026-01-29 17:37:45 +00:00 by claunia · 1 comment
Owner

Originally created by @harry-flw on GitHub (Jul 11, 2022).

RadzenDataGrid data filtering Int32 type column raizes an exception "System.FormatException: Input string was not in a correct format"

Describe the bug
Entering the number "-1" in the field in the filter dialog results in a fatal error.

To Reproduce
Steps to reproduce the behavior:

  1. Open demo https://blazor.radzen.com/datagrid-enum-filter
  2. Click on the filter of the ID column.
  3. In the filtering dialog that appears, enter the value -1. It's important do not press arrows, just type -1

alt text

Originally created by @harry-flw on GitHub (Jul 11, 2022). RadzenDataGrid data filtering Int32 type column raizes an exception "System.FormatException: Input string was not in a correct format" **Describe the bug** Entering the number "**-1**" in the field in the filter dialog results in a fatal error. **To Reproduce** Steps to reproduce the behavior: 1. Open demo https://blazor.radzen.com/datagrid-enum-filter 2. Click on the filter of the ID column. 3. In the filtering dialog that appears, enter the value -1. It's important do not press arrows, just type -1 ![alt text](https://downloader.disk.yandex.ru/preview/2292964beb4f761108a52183a8f40e538bb781961430b5411398472def7f9d6e/62c6d9cc/JS5gIoSeAG4i-LeG-z77-WjbBLdE9Rjoon5u8wIVim3Na0EG6Mb19tMQCA1BMC54ZOSzzO-CIp-glTbV26gP4w%3D%3D?uid=0&filename=e1.jpg&disposition=inline&hash=&limit=0&content_type=image%2Fjpeg&owner_uid=0&tknv=v2&size=2048x2048)
Author
Owner

@akorchev commented on GitHub (Jul 11, 2022):

Should be addressed by a497660c64 too.

@akorchev commented on GitHub (Jul 11, 2022): Should be addressed by https://github.com/radzenhq/radzen-blazor/commit/a497660c6443530302eea5edac3e3da6eb6632ae too.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#464