You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After installing BlazorScheduler on my blazor server project, I seem to be running into a rendering problem at runtime. The exact error I ran into is the following:
An unhandled exception occurred while processing the request.
InvalidOperationException: JavaScript interop calls cannot be issued at this time. This is because the component is being statically rendered. When prerendering is enabled, JavaScript interop calls can only be performed during the OnAfterRenderAsync lifecycle method.
How should I adress this problem?
To Reproduce
Steps to reproduce the behavior:
Intalling bazorScheduler on my Blazor server
Running my project with dotnet run command
See error
Expected behavior
No errors at runtime and my BlazorScheduler component correctly rendered.
Screenshots
Additional context
N.A.
The text was updated successfully, but these errors were encountered:
Describe the bug
After installing BlazorScheduler on my blazor server project, I seem to be running into a rendering problem at runtime. The exact error I ran into is the following:
An unhandled exception occurred while processing the request.
InvalidOperationException: JavaScript interop calls cannot be issued at this time. This is because the component is being statically rendered. When prerendering is enabled, JavaScript interop calls can only be performed during the OnAfterRenderAsync lifecycle method.
How should I adress this problem?
To Reproduce
Steps to reproduce the behavior:
dotnet run
commandExpected behavior
No errors at runtime and my BlazorScheduler component correctly rendered.
Screenshots
Additional context
N.A.
The text was updated successfully, but these errors were encountered: