Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

3
Votes
Hi Syncfusion Team,

I have two SfGrids, one is in the main page (grid1), the other is in the SfDialog (grid2). 

Steps to reproduce:
1.Fill in grid1 with some data.
2. Open the Dialog and fill in grid2
3. Close the dialog
4. Try to resize the window in Dev mode of the browser.

The following Error rises:

blazor.web.js:1 Uncaught (in promise) Error: System.ArgumentException: There is no tracked object with id '15'. Perhaps the DotNetObjectReference instance was already disposed. (Parameter 'dotNetObjectId')

   at Microsoft.JSInterop.JSRuntime.GetObjectReference(Int64 dotNetObjectId)

   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, String argsJson)

    at y.endInvokeDotNetFromJS (blazor.web.js:1:3305)

    at Object.ii [as endInvokeDotNetFromJS] (blazor.web.js:1:165010)

    at invoke-js.ts:233:31

    at Ll (invoke-js.ts:276:5)

    at do_icall (03b0bdf6:0x1e5ec)

    at do_icall_wrapper (03b0bdf6:0x19531)

    at mono_interp_exec_method (03b0bdf6:0xb443)

    at interp_runtime_invoke (03b0bdf6:0x1ae46)

    at mono_jit_runtime_invoke (03b0bdf6:0x1300aa)

    at do_runtime_invoke (03b0bdf6:0xf090a)

endInvokeDotNetFromJS @ blazor.web.js:1

ii @ blazor.web.js:1

(anonymous) @ invoke-js.ts:233

Ll @ invoke-js.ts:276

$do_icall @ 03b0bdf6:0x1e5ec

$do_icall_wrapper @ 03b0bdf6:0x19531

$mono_interp_exec_method @ 03b0bdf6:0xb443

$interp_runtime_invoke @ 03b0bdf6:0x1ae46

$mono_jit_runtime_invoke @ 03b0bdf6:0x1300aa

$do_runtime_invoke @ 03b0bdf6:0xf090a

$mono_runtime_try_invoke @ 03b0bdf6:0xf138a

$mono_runtime_invoke @ 03b0bdf6:0xf3f07

$mono_wasm_invoke_method_bound @ 03b0bdf6:0x2a72b0

(anonymous) @ dotnet.native.8.0.10.k0bu49uou0.js:936

ccall @ dotnet.native.8.0.10.k0bu49uou0.js:6314

(anonymous) @ dotnet.native.8.0.10.k0bu49uou0.js:6333

kr @ invoke-cs.ts:273

(anonymous) @ invoke-cs.ts:247

beginInvokeDotNetFromJS @ blazor.web.js:1

invokeDotNetMethodAsync @ blazor.web.js:1

invokeMethodAsync @ blazor.web.js:1

(anonymous) @ syncfusion-blazor.min.js:34

setTimeout

e.windowResized @ syncfusion-blazor.min.js:34


It seems there is a problem in 

setTimeout
e.windowResized @ syncfusion-blazor.min  event.


If one of the grids is not populated with data there is no exception.