Dash layout not showing blazor webAssembly 6.0 .please check bellow link
https://blazor.syncfusion.com/demos/dashboard-layout/overview?theme=material
u have given sample application also same issue .Once click minimize or maximize button only its showing.Once page load its not showing .but same code working server application .
in my application i am using them below
<link rel='nofollow' href="_content/Syncfusion.Blazor/styles/bootstrap4.css" rel="stylesheet" />
<link rel='nofollow' href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" />
<link rel='nofollow' href="_content/Syncfusion.Blazor.Themes/material.css" rel="stylesheet" />
I am having the same rendering problem with version 20.1.0.47.
None of your samples work. I get an error like this
"
blazor.server.js:1 [2022-04-11T16:44:53.314Z] Error: System.ArgumentNullException: Value cannot be null. (Parameter 'json')
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
at Syncfusion.Blazor.Layouts.SfDashboardLayout.Initialize()
at Syncfusion.Blazor.Layouts.SfDashboardLayout.OnAfterScriptRendered()
at Syncfusion.Blazor.SfBaseComponent.OnAfterRenderAsync(Boolean firstRender)
at Syncfusion.Blazor.Layouts.SfDashboardLayout.OnAfterRenderAsync(Boolean firstRender)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
log @ blazor.server.js:1
Hi Carlos,
In our recent release, we included some of the breaking changes in Blazor. The reported issue at your end occurs due to this. Please check the below release notes for changes.
Release notes link : https://blazor.syncfusion.com/documentation/release-notes/20.1.47?type=all#common
To overcome the issue follow one of the below way.
Way 1: Load scripts externally via CDN.
|
<script src=https://cdn.syncfusion.com/blazor/20.1.47/syncfusion-blazor.min.js type="text/javascript"></script> |
Way 2: Set IgnoreScriptIsolation as false in AddSyncfusionBlazor().
|
builder.Services.AddSyncfusionBlazor(options => { options.IgnoreScriptIsolation = false; }); |
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/DASHBO~21643078434
Please check the attached sample and get back to us if you need any further assistance.
Regards,
Indhumathy L