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!>
Thanks for joining our community and helping improve Syncfusion products!
Hi,
This is a duplicate of a comment on ticket https://support.syncfusion.com/support/tickets/405419.
I was testing the updates to the Gantt control in 20.3.0.47 and noticed an issue when applying EnableVirtualization=true when there were no records in the datasource and received the following error.
blazor.server.js:1 [2022-10-05T22:33:15.773Z] Error: System.Collections.Generic.KeyNotFoundException: The given key 'viewPortHeight' was not present in the dictionary.
at Syncfusion.Blazor.Gantt.SfGantt`1.UpdateChartHeight()
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecuteSynchronously(TaskCompletionSource`1 completion, SendOrPostCallback d, Object state)
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.<>c.<.cctor>b__23_0(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecuteBackground(WorkItem item)
