Hi there,
I am trying to show a dialog box to confirm whether or not to perform an action and I keep getting a blazor error every time the dialog shows.
blazor.web.js:1 [2025-05-27T06:31:46.996Z] Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting 'DetailedErrors: true' in 'appSettings.Development.json' or set 'CircuitOptions.DetailedErrors'.
Has anyone seen this?
This is the general Blazor exception when there is an exception - check the details.
There are no details. Where do I look?
Ok, I got a more descriptive error. The error is:
Microsoft.JSInterop.JSException: Could not find 'Radzen.openDialog' ('Radzen' was undefined).
Error: Could not find 'Radzen.openDialog' ('Radzen' was undefined).
Any idea why it is doing that?
The error means that the required JavaScript is missing, check our Getting Started for reference.
Thank you, that resolved it