Hi Haryzad,
Thanks for contacting Syncfusion Support.
Query: i add the ej-grid but during compilation it's not show;
From your sample, we could see that you have referred both EJ1 & EJ2 script file. But you’re not referred the needed dependences because of this reported problem is occurred.
- Need to refer the JsRender script for ej1 Grid.
- If we use both ej1 and ej2 then, we need to refer both script manager.
- Also, we need to extend the ej name space with Syncfusion.
|
Layout.cshml page
<script src="~/lib/jsrender.min.js"></script>
@RenderSection("Scripts", required: false)
<script>
// Extend ej namespace with Syncfusion
var dataCopy = Object.assign({}, ej.data);
$.extend(ej, Syncfusion);
$.extend(ej.data, dataCopy);
</script>
<ej-script-manager></ej-script-manager>
<ejs-scripts></ejs-scripts>
@RenderBody()
|
For your convenience we have modified the provided sample please refer the below link,
Regards,
Seeni Sakthi Kumar S.