I’m having issues with integrating your components on my
application. I have gone through the tutorial on your website and it seems that
when I compile there’s an issue with the JavaScript that configures the ejs
component. I am trying to apply a simple button however it doesn't work for any component i use.
However when It complies it looks like this:
When it
should look like:
I’ve applied all the dependencies and relevant css and javascript classes in my layout page as well as the ejs-script tag.
After the page renders the script tag is empty and doesn't include any of the javascript to compile the button.
Not quite sure why it’s not working.
Did u ever solve this am facing the same situation
Hi Saranya
I have the same issue when using ASP.NET areas -
<ejs-scripts></ejs-scripts>
becomes
<script></script>
in a browser.
Needless to say, all other (ordinal, not ASP.NET area) views are working ok.
Please help
Thank you
Alex
|
<!-- Syncfusion Essential JS 2 Scripts -->
…
<ejs-scripts></ejs-scripts> |
|
<ejs-button id="element" content="Button"></ejs-button> |
Hi Gayathri
|
@using Microsoft.AspNetCore.Identity
@using RPareas
@using RPareas.Data
@namespace RPareas.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Syncfusion.EJ2 |
|
@namespace RPareas.Areas.Products.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Syncfusion.EJ2
|
|
@page
@model RPareas.Areas.Products.Pages.IndexModel
@{
ViewData["Title"] = "Prod Index";
}
<ejs-button id="element" content="Button"></ejs-button>
|
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - RPareas</title>
------------
<link rel="stylesheet" rel='nofollow' href="~/css/site.css" />
<!-- Syncfusion Essential JS 2 Styles -->
<!-- Syncfusion Essential JS 2 Scripts -->
</head>
<body>
<!-- Syncfusion Essential JS 2 ScriptManager -->
<ejs-scripts></ejs-scripts>
@RenderSection("Scripts", required: false)
</body>
</html>
|