Input string was not in a correct format
Dear Syncfusion.
When i use the datagrid with localization i got this error :
System.FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
at System.Number.ParseDecimal(ReadOnlySpan`1 value, NumberStyles styles, NumberFormatInfo info)
at System.Decimal.Parse(String s, IFormatProvider provider)
This error was fixed in version 18, but will be reissued in version 19
i am using Synfusion version :19.1.0.66 with Persian localization (Persian-Arabic numerals).
Could you please help with this issue, Thank you very much.
SIGN IN To post a reply.
5 Replies
1 reply marked as answer
RS
Renjith Singh Rajendran
Syncfusion Team
June 7, 2021 12:38 PM UTC
Hi Ali,
Greetings from Syncfusion support.
We checked this scenario by creating a sample in our latest version 19.1.0.66, but we could not face the reported exception with the sample from our side.
Kindly refer the above attached sample. And if you are still facing difficulties, then kindly share with us the following details for better assistance.
- Share a simple issue reproducing sample for us to validate based on your scenario.
- Share the exact scenario you are facing the reported problem.
- Share a video demo showing the replication of the problem you are facing.
- Share the complete grid rendering codes and model class codes.
The provided information will help us analyze the problem, and provide you a solution as early as possible.
Regards,
Renjith R
AL
ali
June 7, 2021 02:23 PM UTC
thank you
Yes, there is no error with the nullable decimal type
I had tested this before and I knew it not error
but with the integer has exception
Most of the columns I use are integers and I do not use decimal numbers
Even the Drop Down component returns an error with integers
Attachment: BlazorSyncfusionTestApp_254ab50a.zip
SN
Sevvandhi Nagulan
Syncfusion Team
June 9, 2021 12:39 PM UTC
Hi Ali,
We are currently validating the reported requirement at our end. We will update further details on 11th of June,2021. We appreciate your patience until then.
Regards,
Sevvandhi N
SN
Sevvandhi Nagulan
Syncfusion Team
June 11, 2021 05:01 AM UTC
Hi Ali,
We considered the reported issue as a bug at our end. We will include the fix for the reported issue on volume 2 release which is scheduled to be roll out by 25th of June,2021. We appreciate your patience until then.
You can track the status of the reported issue from the feedback link below.
Feedback link: https://www.syncfusion.com/feedback/17612/
Regards,
Sevvandhi N
SN
Sevvandhi Nagulan
Syncfusion Team
July 2, 2021 01:22 PM UTC
Hi Ali,
Thanks for the patience.
We are glad to announce that our Essential Studio 2021 Volume 2 Main release v19.2.0.44 is rolled out and is available for download under the following link.
We have resolved the reported issue “Input string was not in a correct format” in the above-mentioned release.
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
Sevvandhi N
Marked as answer
SIGN IN To post a reply.