Hello, I installed a new version of Syncfusion.Blazor 20.2.0.38 and noticed that the dashboard layout throws exceptions and mostly crashes.
I prepared a simple test basing on https://blazor.syncfusion.com/documentation/dashboard-layout/getting-started?cs-save-lang=1&cs-lang=csharp.
Here is a test project attached where the page 'Counter' contains only a component SfDashboardLayout.
Could you help me to get it working correctly?
BR
Hi Andrzej,
Greetings from Syncfusion support.
In our release version 20.1.47, we included some of the breaking changes. We suspect that the reported issue at your end is occurring 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 add the below script reference.
|
<script src=https://cdn.syncfusion.com/blazor/20.1.47/syncfusion-blazor.min.js type="text/javascript"></script> |
You can install the latest individual NuGet package in your sample and add script and style references to overcome the issue. Also, in our release version 18.4.30, we included some of the breaking changes in Chart component. For your reference we have attached the Blazor Dashboard Layout sample with the above-mentioned changes.
Release notes link: https://blazor.syncfusion.com/documentation/release-notes/18.4.30?type=all#chart
Sample : https://www.syncfusion.com/downloads/support/directtrac/general/ze/DashboardSample-69830778.zip
In this attached sample, RangeNavigator component does not fit into the panel at initial rendering. When the page refreshed, its properly render into the panel but unable to refresh the component. So, we have considered the reported scenario as a bug. The fix for the reported scenario will be included in our weekly patch release which is expected to be rolled out on August 2, 2022.
Please find the below feedback link to keep track of the reported scenario.
Feedback link: https://www.syncfusion.com/feedback/36451/refresh-method-for-range-navigator
Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”
Please check the sample and get back to us if you need any further assistance.
Regards,
Leo Lavanya Dhanaraj
Hi Andrzej,
Thank you for your patience.
We have included the improvement in our Essential Studio Volume 2 SP release(v20.2.0.43) which is rolled out and is available for download under the following link.
We have created a RefreshAsync method to refresh the range navigator component to render the component inside the dashboard layout. We can refresh the component in the Created event of the dashboard layout. We have created a simple blazor application to demonstrate the same and it can be downloaded from the below link.
Sample link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlazorAppV201370334394
Code Snippet:
|
<DashboardLayoutEvents Created="LayoutCreate"></DashboardLayoutEvents>
void LayoutCreate(Object args) { this.rangeObj.RefreshAsync(); } |
Screenshot:
We thank you for your support and appreciate your patience in waiting for this release. Please get back to us if you need further assistance.
Regards,
Swetha