How to resolve Cannot read property enableBlazorMode of undefined error when using with Bold Reports®
To resolve the Cannot read property enableBlazorMode of undefined error when you use the Bold Reports® Blazor components with Syncfusion® Blazor components, refer the Syncfusion® Blazor script in the _Host.cshtml file and register the Syncfusion® Blazor service with the true parameter. Follow these steps in your application.
Refer the Syncfusion® Blazor script in the _Host.cshtml file.
<head>
<script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js"></script>
</head>To use manual scripts in the application, register the Blazor service in ~/Startup.cs file by using the true parameter, as in the following code:
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
....
....
services.AddSyncfusionBlazor(true);
}
}