Loading Syncfusion Blazor Server Demos…
Try that again
Page could not be loaded. Please try again later.
Error Type : System.InvalidOperationException

Error Message : 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.

Error Stack Trace : at Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime.BeginInvokeJS(JSInvocationInfo& invocationInfo) at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, JSCallType callType, CancellationToken cancellationToken, Object[] args) at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, JSCallType callType, Object[] args) at BlazorDemos.Pages.GanttChart.AdvancedExporting.OnInitializedAsync() in /home/syncfusion/workspace/ES/ej2-blazor-samples/Common/Pages/GanttChart/AdvancedExporting.razor.cs:line 108 at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()

Error Base Exception : System.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. at Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime.BeginInvokeJS(JSInvocationInfo& invocationInfo) at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, JSCallType callType, CancellationToken cancellationToken, Object[] args) at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, JSCallType callType, Object[] args) at BlazorDemos.Pages.GanttChart.AdvancedExporting.OnInitializedAsync() in /home/syncfusion/workspace/ES/ej2-blazor-samples/Common/Pages/GanttChart/AdvancedExporting.razor.cs:line 108 at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()