index.js Method is causing screen resizing issues

Hi. I am using the File Uploader and copied the relevant index.js file for the component, that aids in uploading files of different formats and also viewing them. But every time I try to resize my screen, the following method throws an error:

Image_7725_1748372394166


And there it is in my App.razor file:

Image_3658_1748372872265


1 Reply

YA YuvanShankar Arunagiri Syncfusion Team May 28, 2025 10:56 AM UTC

Hi Alamode,


Based on your provided screenshot code snippet and reported query, we suspect that you are trying to make the call from client to server in meantime the variable “sfBlazorSB.dotnetRef” is null due to this error thrown while resizing the window.


for further validation, could you please share the below details.

  • Share the issue replicating sample because your code have dependent in script side so we need entire sample with file uploader codes.

  • Share the purpose of using the script file.

  • Share the Syncfusion package version.

Based on the above details, we will check and provide the better and quick solution.


Regards,

YuvanShankar A


Loader.
Up arrow icon