How to resolve Cannot read property enableBlazorMode of undefined error when using with Bold Reports®

When using the Bold Reporting components with Syncfusion® Blazor components. You have to refer the Syncfusion® Blazor script in _Host.cshtml file. Follow these steps in your application to avoid this issue.

Refer the Syncfusion® Blazor script in _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 mentioned as follows.

    public class Startup
    {
        public void ConfigureServices(IServiceCollection services)
        {
            ....
            ....
            services.AddSyncfusionBlazor(true);
        }
    }

See also