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

2 Answers 1909 Views
Licensing
Alex
Top achievements
Rank 1
Alex asked on 07 Jul 2021, 06:50 AM

I receive from other developer workable application with Blazor and Telerik UI. I have installed Telerik UI successfully to my machine, then install package Telerik.UI.for.Blazor.Trial. Site successfully compiled and started. But Blazor UI don't working.

 

2 Answers, 1 is accepted

Sort by
1
Accepted
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
answered on 07 Jul 2021, 02:56 PM
Alex
Top achievements
Rank 1
commented on 07 Jul 2021, 07:41 PM

Thank you, @Mattias But I don't update anything, I only read project without ant changing from Azure. I must continue developing from after previous programmer in the same .NET Core version, the same Telerik UI version.
1
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
answered on 08 Jul 2021, 05:49 AM

Hi Alex - this is not only about updates - there are some tips about the location of the JS and the defer attribute.  I had the same problem while I was testing with a slow connection. 

You can read a little bit more there:  https://docs.telerik.com/blazor-ui/troubleshooting/js-errors?_ga=2.214987024.621073099.1625649572-1693785563.1625649572

Following steps could help you:

  • remove the defer attribute
  • move the telerik script above other scripts
  • empty browser cache

have a nice day

regards Matthias

 

Tags
Licensing
Asked by
Alex
Top achievements
Rank 1
Answers by
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Share this question
or