Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
0
igregisterscript is not defined
posted

I'm trying to follow a simple example on your web site but I'm getting the error 'igregisterscript is not defined'. What am I doing wrong?

js file:

igRegisterScript("WebGridIsCurrentCellTemplate", (ctx) => {

    var html = window.igTemplating.html;

    return html`<div>AAA</div>`;

}, false);

  • 29085
    Offline posted

    The issue was that the line that this line in _Hosts.chtml

    <script src="_content/IgniteUI.Blazor/app.bundle.js"></script>