System.ArgumentException after Update to 29.1.38

Hi, 


after updating to Version 29.1.38 I get on all my DataGrid these Error:


Exception thrown: 'System.ArgumentException' in Microsoft.JSInterop.dll

Uncaught Error Error: System.ArgumentException: The call to 'ColumnWidthChanged' expects '2' parameters, but received '1'.

    at endInvokeDotNetFromJS (localhost꞉7078/_framework/blazor.web.js:1:3305)

    at _invokeClientMethod (localhost꞉7078/_framework/blazor.web.js:1:62730)

    at _processIncomingData (localhost꞉7078/_framework/blazor.web.js:1:60119)

    at connection.onreceive (localhost꞉7078/_framework/blazor.web.js:1:53760)

    at i.onmessage (localhost꞉7078/_framework/blazor.web.js:1:81866)


3 Replies

NP Naveen Palanivel Syncfusion Team April 16, 2025 04:19 PM UTC

Hi Alexander,

We have checked your query, and it seems that JS error occurs after upgrading to the latest version(29.1.38). However, we tested it on our side, and the issue did not occur. Please refer to the attached video demonstration. Additionally, try clearing the bin, obj, and .vs folders, as well as the NuGet and browser caches, to see if the issue persists.



Regards,
Naveen.



JB JB April 16, 2025 09:59 PM UTC

I'm getting the same issue on Blazor 29.1.33. Happens in some environments and not others. Seems to be an issue with the server caching script files?



PS Prathap Senthil Syncfusion Team April 23, 2025 09:27 AM UTC


Yes, based on the reported problem, this issue could be related to script caching on the server. After upgrading to a new NuGet version, please try the following steps to resolve the issue:

  1. Clear the bin and obj folders from your project.
  2. Clear the browser cache to ensure outdated script files are not being used.
  3. Ensure that the CSS and script references in your project match the NuGet package version.

If you're using CDN links for Syncfusion resources, make sure the CDN version of the CSS and script files corresponds exactly to the NuGet package version you're using.

Please let us know if the issue persists or if you need further assistance.


Loader.
Up arrow icon