Radzen Blazor WASM JavaScript Interop function not defined

Hello everyone!
I posted an issue on StackOverflow about how Radzen Blazor components are affecting the JavaScript Interop in Blazor WASM.
[c# - Radzen Blazor WASM JavaScript Interop function not defined - Stack Overflow](https://Issue in stackoverflow)
Could someone help me with this problem?
Thank you in advance,
Regards

Hi @pedronadal,

The Radzen Blazor components do not affect the JS interop as far as we know. Most of them rely on JS interop to work. You can try including the file after your interop.js file to see if it makes a difference.

Hi @korchev, thank you for your reply.

You mean like that?

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>Blazor APP</title>
    <base href="/" />
    <link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
    <link href="css/app.css" rel="stylesheet" />
    <link href="APP.Client.styles.css" rel="stylesheet" />
    <link rel="stylesheet" href="_content/Radzen.Blazor/css/default.css">
</head>

<body>
    <div id="app">Loading...</div>

    <div id="blazor-error-ui">
        An unhandled error has occurred.
        <a href="" class="reload">Reload</a>
        <a class="dismiss">🗙</a>
    </div>
    <script src="_framework/blazor.webassembly.js"></script>
    <script scr="interop.js"></script>
    <script src="_content/Radzen.Blazor/Radzen.Blazor.js"></script>
</body>

</html>

It does not work either... I don't know what else can I do...

Regards,

Are you sure the path to your JS file is right? Check in your developer tools if the file is successfully loaded.

Hi @korchev, thank you for your reply.

Finally, I found a bug in the code of my index.html file that I was not seeing...

<script scr="js/interop.js"></script> 

should be 

<script src="js/interop.js"></script>

Thank you for your help.

Regards