Value cannot be null. Parameter 'source'

Dear Support Team,

I saw several threads mentioning similar Subject but, can you please check the attached sample. It is a sample based on your Web Assembly wizard, using your sample Grid, getting some json objects from a free RestAPI endpoint, and crashing at Syncfusion.Blazor.Grids.SfGrid`1.<OnParametersSetAsync>.

The crash may come from the use of the property EnablePersistance=true.

Thank you very much for all.


Attachment: WebAsm1_4f51e1cd.zip

2 Replies

AR Artilizansa July 23, 2024 06:20 AM UTC

Hello Team,

Finally, this issue is similar to the one posted here.

https://www.syncfusion.com/forums/185697/grid-detailtemplate-source-cannot-be-null-when-showing-2-details

My intention was to specifiy the PageSize. And I put a "s" at the end :-(


<GridPageSettings PageSizes="32"></GridPageSettings>


But, when doing such typo mistake, it would be nice if the exception can be avoided or at lteast explained with a good error message. It will avoid the developer not to spend time to understand it.


Sorry for raising a ticket for that.

Artilizansa.



PS Prathap Senthil Syncfusion Team July 23, 2024 10:05 AM UTC

Hi  Artilizansa,

Thanks for the update,

We are happy to hear that the reported issue has been resolved on your end. We will now be closing this thread.

Additionally, we have listed the properties for the GridPageSettings. Kindly refer to the link below for your reference


https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridPageSettings.html#properties

Regards,
Prathap Senthil


Loader.
Up arrow icon