Blazor crash

We are getting the following complete app crash.  Please advise.


fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]

      Unhandled exception in circuit '0znVrLGLAn0_U096P_NnLR2zhRSGusGR28GN7PB5EmI'.

      System.FormatException: Input string was not in a correct format.

         at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)

         at System.Convert.ToDouble(String value, IFormatProvider provider)

         at Syncfusion.Blazor.Grids.Internal.VirtualScroll`1.RemovePx(String WidthOrHeight)

         at Syncfusion.Blazor.Grids.Internal.VirtualScroll`1.GetColumnsWidth(List`1 cols)

         at Syncfusion.Blazor.Grids.Internal.GridVirtualHeader`1.GetVirtualTrackStyles()

         at Syncfusion.Blazor.Grids.Internal.GridVirtualHeader`1.BuildRenderTree(RenderTreeBuilder __builder)

         at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, Re


1 Reply

VN Vignesh Natarajan Syncfusion Team October 28, 2021 07:13 AM UTC

Hi John,  

Thanks for contacting Syncfusion support.  

Query: “Blazor crash” 

We have analyzed the reported issue with the provided stack trace of the issue and we found that issue occur due to Width property of GridColumn. Normally GridColumn’s Width property can defined in terms of px, number or in percentage. We have ensured the reported issue by defining the column width is specified ways and we are not able to reproduce the reported issue at our end.  

So kindly share the following details to validate the reported issue further at our end.  

  1. Share the Grid code example along with GridColumn definition.
  2. Share your Syncfusion.Blazor NuGet package version details.  
  3. Are you facing the reported issue in our latest version of Syncfusion.Blazor package
  4. Have you enabled Virtual Scrolling in Grid?

Above requested details will be very helpful in validating the reported queries at our end and provide solution as early as possible.  

Regards, 
Vignesh Natarajan  


Loader.
Up arrow icon