I'm trying to add EJ2 to an older project and I think I'm doing everything correctly, but I can't even get a calendar control to show up.
here's what I've done:
1. added package Syncfusion.EJ2.AspNet.Core (18.3.0.42) via Visual Studio 2019 Manage NuGet packages option.
2. added to the _testLayout <head> section
<link rel="stylesheet" rel='nofollow' href="https://cdn.syncfusion.com/ej2/material.css" />
<!-- Syncfusion Essential JS 2 Scripts -->
<script src="https://cdn.syncfusion.com/ej2/dist/ej2.min.js"></script>
and to the end of the body section
<!-- Syncfusion Essential JS 2 ScriptManager -->
<ejs-scripts></ejs-scripts>
3. In the ConfigureServices method of Startup.cs, I register the license. I got the license from the website, I chose version 18.3.0.42
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("blah");
4. I build a simple test page
@{
Layout = "_testLayout";
}
<p>before calendar</p>
<ejs-calendar id="calendar"></ejs-calendar>
<p>after calendar</p>
it's not rendering. attached is a screenshot.
What step did I miss? I'm also not seeing any error in any console.
thank you
Attachment:
ej2_not_working._8981cadb.zip