Hello, I had a grid filter, that would display small values, but now I am getting this error.
Is there any fix for this?
Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Value was either too large or too small for a Decimal.System.OverflowException: Value was either too large or too small for a Decimal. at System.Number.ThrowOverflowException(TypeCode type) at System.Decimal.DecCalc.VarDecFromR8(Double input, DecCalc& result) at System.Decimal..ctor(Double value) at System.Decimal.op_Explicit(Double value) at System.Convert.ToDecimal(Double value) at System.Double.System.IConvertible.ToDecimal(IFormatProvider provider) at System.Convert.ToDecimal(Object value, IFormatProvider provider) at Syncfusion.Blazor.Grids.Internal.FilterCheckBoxRenderer`1[
Hi Pavel,
Greetings from the Syncfusion support.
Query : “Grid Filter broken after update”
We have checked your query and we are quite unclear about the exact issue you are facing. So kindly share the below details to validate further at our end.
The above-requested details will be helpful for us to validate the reported query at our end and provide the solution as early as possible.
Regards,
Naveen Palanivel
For example if a value is public double MyDouble = double.MinValue();
public const double MinValue = -1.7976931348623157E+308;
using a min value will throw an error because its too large.
I have fixed it by doing a check for min value and changing it to -1
Hi Pavel,
Sorry for the Inconvenience.
We are currently checking the reported case at our end and we
will update the further details in two business day as promised (July 26, 2022). Until then we appreciate your patience.
Regards,
Naveen Palanivel
Hi Pavel,
Sorry for the Inconvenience.
We are currently checking the reported case at our end and we will update the further details in two business day as promised (July 29, 2022). Until then we appreciate your patience.
Regards,
Naveen Palanivel
Sure just try creating a data source with values such as
public const double MinValue = -1.7976931348623157E+308;
Then enable excel filter on grid and try to open filter.
Application crashes Unhandled exception rendering component: Value was either too large or too small for a Decimal.System.OverflowException
Hi Pavel,
Sorry for the Inconvenience.
We are currently Validating the reported query with high priority at our end and we will update the further details within one business days(July 29, 2022). Until then we appreciate your patience.
Regards,
Naveen Palanivel
Hi Pavel,
We have confirmed this as an issue and logged the defect report “Grid Filter broken when double has MinValue”for the same. Thank you for taking time to report this issue and helping us to improve our product. At Syncfusion, we are committed to fix all validated defects (subject to technological feasibility and Product Development Life Cycle) and this fix will be included in our upcoming patch release which is expected to be rolled out on or before 31th Aug , 2022.
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.
https://www.syncfusion.com/feedback/36713/grid-filter-broken-when-double-has-minvalue
Until then we appreciate your patience.
Regards,
Naveen Palanivel
Hi Pavel,
Thanks for the patience.
We are glad to announce that, we have included fix for the issue “Grid Filter broken when double has MinValue” in our release(20.2.0.48). So please upgrade to our latest version of Syncfusion NuGet package to resolve the reported issue. Please find the Nuget package for latest fixes and features from below.
Nuget : https://www.nuget.org/packages/Syncfusion.Blazor.Grid
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you need any further assistance.
Regards,
Naveen Palanivel