1. You are declared the grid with mismatched quotes like ,
<ej:grid id="flatgrid' runat='server'></ej:grid> that is the reason error shown in a server side.
Screenshot:
|
Solution: Error is not in server side if we declare the grid like,
<ej:grid id="flatgrid" runat='server'></ej:grid>
Screenshot:
|
2. You are not referred a jsRender script file in site master page. It is a one of the dependency file. Otherwise grid content is doesn’t shown and throws a script error in console window. Please refer to the screen shot,
Screenshot:
| Solution: We suggest you to refer a jsRedner script file in the site master page.
Screenshot:
|
<asp:ScriptManager runat="server"> <Scripts> <%--To learn more about bundling scripts in ScriptManager see https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.scriptmanager?view=netframework-4.8 --%> <%--Framework Scripts--%> <………………..> <%--Site Scripts--%> <asp:ScriptReference Path="~/Scripts/jquery-2.1.4.min.js" /> <asp:ScriptReference Path="~/Scripts/jquery.easing.1.3.min.js" /> <asp:ScriptReference Path="~/Scripts/jquery.globalize.min.js" /> <asp:ScriptReference Path="~/Scripts/jsrender.min.js"/> <asp:ScriptReference Path="~/Scripts/ej/ej.web.all.min.js" /> <asp:ScriptReference Path="~/Scripts/ej/ej.webform.min.js" /> </Scripts> </asp:ScriptManager> |