Query |
Response |
There is an issue with the buttons: sometimes the captions do not appear. For instance, when I try to delete a report, the caption are missing. This happens also when the prompt asks you to save changes, when you change report. In the .zip file there is a screenshot of the issue, after clicking on the trash bin icon to delete a report. |
We are unable to reproduce the issue in the provided sample. So, we have taken a video for your reference which is attached in the below link.
Video Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/blazor_olap_report99115078
Kindly provide us the exact replication steps to reproduce the same at our end?
Note: The problem may be occurred with the browser cache which will override the page theme. So, clear the cache then check the same. To clear browser cache press “Ctrl+F5” which will refresh the page. Or open the sample in incognito mode. |
With respect to saving a report, it seems to be missing a piece of code in the "Save report" method. In fact, if you close and re-open the browser, saved reports are missing (also in the attached project).
In ASP.NET Core component, there is this extra line:
localStorage.pivotviewReports = JSON.stringify(reports);
that seems to save the reports to the local storage.
Does this mean that we need to manually call the Microsoft JSInterop environment to save the reports in the local storage? Or is there an already existing method of the component we can call to do it automatically? |
Except Blazor, in rest of the platforms we can frame JavaScript codes where we can able to access the local storage option. But in Blazor, it couldn’t be achieved so that we have done the operation in local variable.
The report manipulation operations can be done in sample level through events where customer can save and load the report in desired location. It may be local storage, data base etc..
So, we suggest you to handle the storage related codes at your end in same level based on your requirement.
|