Telerik Media Query Error

1 Answer 309 Views
General Discussions
JeffSM
Top achievements
Rank 2
Iron
Veteran
Iron
JeffSM asked on 06 Oct 2023, 05:26 PM

Hi,

When migrating a WebAssembly Blazor App, this error happens:

Could not find 'TelerikBlazor.initMediaQuery' ('TelerikBlazor' was undefined).

Thanks,

1 Answer, 1 is accepted

Sort by
0
JeffSM
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 06 Oct 2023, 05:43 PM

The Telerik Blazor Js reference was missing:

    <script src="_framework/blazor.webassembly.js"></script>
    <script src="_content/Telerik.UI.for.Blazor/js/telerik-blazor.js"></script>

 

#jefferson2020

Hristian Stefanov
Telerik team
commented on 09 Oct 2023, 08:36 PM

Hi Jefferson,

I'm happy to see you quickly found the solution on your own.

Thank you for sharing it here, publicly, so other developers can benefit from it.

Kind Regards,

Hristian

Jonathan
Top achievements
Rank 2
commented on 31 Oct 2023, 07:35 PM

Thanks for posting this as this resolved the same issue that we had too!

Regards,

Jonathan

Tags
General Discussions
Asked by
JeffSM
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
JeffSM
Top achievements
Rank 2
Iron
Veteran
Iron
Share this question
or