Error with more than one grid on the same page and try to go to a different one.

Hi,

Just upgraded to 19.3.0.45. When I have more than two grids on the same page and try to go to a different page, I will get the following error. Before the upgrade, it worked fine.


System.AggregateException: Exceptions were encountered while disposing components. (This operation is only valid on generic types.) (This operation is only valid on generic types.)

 ---> System.InvalidOperationException: This operation is only valid on generic types.

   at System.RuntimeType.GetGenericTypeDefinition()

   at Syncfusion.Blazor.Grids.SfGrid`1.IsObservableCollection(Object data)

   at Syncfusion.Blazor.Grids.SfGrid`1.CollectionDisposeMethod(Object data)

   at Syncfusion.Blazor.Grids.SfGrid`1.ComponentDispose()

   at Microsoft.AspNetCore.Components.OwningComponentBase.System.IDisposable.Dispose()

   at Microsoft.AspNetCore.Components.Rendering.ComponentState.TryDisposeInBatch(RenderBatchBuilder batchBuilder, Exception& exception)

   --- End of inner exception stack trace ---

 ---> (Inner Exception #1) System.InvalidOperationException: This operation is only valid on generic types.

   at System.RuntimeType.GetGenericTypeDefinition()

   at Syncfusion.Blazor.Grids.SfGrid`1.IsObservableCollection(Object data)

   at Syncfusion.Blazor.Grids.SfGrid`1.CollectionDisposeMethod(Object data)

   at Syncfusion.Blazor.Grids.Internal.GridContent`1.System.IDisposable.Dispose()

   at Microsoft.AspNetCore.Components.Rendering.ComponentState.TryDisposeInBatch(RenderBatchBuilder batchBuilder, Exception& exception)<---


Jorge


6 Replies

VN Vignesh Natarajan Syncfusion Team October 18, 2021 08:21 AM UTC

Hi Jorge,  

Sorry for the inconvenience caused.  

Query: “When I have more than two grids on the same page and try to go to a different page, I will get the following error. Before the upgrade, it worked fine. 
 
We have analyzed your query with the provided exception details. We have already considered the reported query as a bug at our end and fix for the issue will be included in our next patch release which is expected to be rolled out by end of October. Kindly follow our Syncfusion page for release related information.  

We will get back to you once the month end patch release is rolled out successfully along with fix for the reported issue. 
 
Regards, 
Vignesh Natarajan 



JT Jorge Tirado replied to Vignesh Natarajan October 18, 2021 01:12 PM UTC

Thanks for the update,


Jorge



VN Vignesh Natarajan Syncfusion Team October 19, 2021 03:28 AM UTC

Hi Jorge,  

Thanks for the update.  

We will get back to you once our next week patch release gets rolled out successfully along with fix for the reported issue.  

Regards, 
Vignesh Natarajan 



VN Vignesh Natarajan Syncfusion Team November 1, 2021 07:28 AM UTC

Hi Jorge 
 
We are glad to announce that our latest release(19.3.0.47) has been successfully rolled out. We have included the fix for reported issue in our latest version release. So please upgrade to our latest release for latest fixes and features.  
 
 
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,              
Vignesh Natarajan 



JT Jorge Tirado November 10, 2021 11:46 PM UTC

Thanks,


It is working now.



VN Vignesh Natarajan Syncfusion Team November 11, 2021 05:30 AM UTC

Hi Jorge,  

Thanks for the update.  

We are glad that we have resolved your query.  

Please get back to us if you have further queries.  

Regards, 
Vignesh Natarajan 



Loader.
Up arrow icon