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!

1
Vote

Hi,
I'm getting unhandled exception when trying to close edit dialog in DataGrid in Blazor WebAssembly standalone project.
In Blazor Server its working but in WebAssembly it throws error:
Error: TypeError: Cannot read properties of undefined (reading hide).

Steps to Reproduce
  1. Create new Blazor WebAsembly Standalone app
  2. Add nuget packages Syncfusion.Blazor.Themes and Syncfusion.Blazor.Grid
  3. Register Syncfusion Blazor Service
  4. Add stylesheet and script resources
  5. Add SfGrid component to Home page
  6. Run application
  7. Click "Add" button on grid toolbar
  8. Close dialog without save

blazor-1.png

blazor-2.png

TypeError: Cannot read properties of undefined (reading 'hide')

Stack trace:

 -  at ./modules/sf-dialog.js.window.sfBlazor.Dialog.t.hide (https://localhost:7148/_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js:34:220766)

 -    at Object.hide (https://localhost:7148/_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js:34:228131)

 -    at https://localhost:7148/_framework/blazor.webassembly.js:1:2878

 -    at new Promise (anonymous)

 -    at b.beginInvokeJSFromDotNet (https://localhost:7148/_framework/blazor.webassembly.js:1:2835)

 -    at Object.vn [as invokeJSJson] (https://localhost:7148/_framework/blazor.webassembly.js:1:58849)

 -    at https://localhost:7148/_framework/dotnet.runtime.8.0.10.39apnb5yx8.js:3:178446

 -    at Ll (https://localhost:7148/_framework/dotnet.runtime.8.0.10.39apnb5yx8.js:3:179280)

 -    at wasm://wasm/00b22172:wasm-function[349]:0x1f99a

 -    at wasm://wasm/00b22172:wasm-function[245]:0x1be41