# Js not working on new install

**URL:** <https://forum.radzen.com/t/js-not-working-on-new-install/4489>\
**Category:** Radzen.Blazor Components\
**Created:** [August 2, 2020, 3:01pm UTC](https://forum.radzen.com/t/js-not-working-on-new-install/4489 "2020-08-02T15:01:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Desen](https://forum.radzen.com/user_avatar/forum.radzen.com/desen/32/3995_2.png) [@Desen](https://forum.radzen.com/u/Desen)\
**Post date:** [August 2, 2020, 3:01pm UTC](https://forum.radzen.com/t/js-not-working-on-new-install/4489/1 "2020-08-02T15:01:27Z")

</div>

Seems none of the js is working.

I have correctly added to my \_hosts.cshtml file.

All I see on the screen with the demo menu defined is:

home General keyboard\_arrow\_down  
More keyboard\_arrow\_down

Note, I am NOT publishing, just running it in debug locally to test the radzen nuget.

Any ideas?

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [August 2, 2020, 5:42pm UTC](https://forum.radzen.com/t/js-not-working-on-new-install/4489/2 "2020-08-02T17:42:14Z")

</div>

You can check the code of our demos and what's different compared to your project:

> **[GitHub - radzenhq/radzen-blazor: Radzen Blazor is the most sophisticated free UI...](https://github.com/radzenhq/radzen-blazor)**
>
> Radzen Blazor is the most sophisticated free UI component library for Blazor, featuring 110+ native components including DataGrid, Scheduler, Charts, and advanced theming with full support for Material Design and Fluent UI. If Radzen Blazor is useful to you, a ⭐ on GitHub helps other Blazor developers find it.

---

<div class="post-metadata">

**Author:** ![Desen](https://forum.radzen.com/user_avatar/forum.radzen.com/desen/32/3995_2.png) [@Desen](https://forum.radzen.com/u/Desen)\
**Post date:** [August 2, 2020, 5:48pm UTC](https://forum.radzen.com/t/js-not-working-on-new-install/4489/3 "2020-08-02T17:48:02Z")

</div>

Thanks, but I've already looked at your documentation and sample code, and downloaded a couple sample projects, but this is a brand new install of your nuget. Should I not be able to use your sample code with a new install and have it work?

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [August 2, 2020, 6:15pm UTC](https://forum.radzen.com/t/js-not-working-on-new-install/4489/4 "2020-08-02T18:15:20Z")

</div>

Nuget install will just add reference to the binary, nothing more. All other steps are listed here:

> **[Get Started | Free UI Components by Radzen](https://blazor.radzen.com/get-started)**
>
> How to get started with the Radzen Blazor Component library.

---

<div class="post-metadata">

**Author:** ![Desen](https://forum.radzen.com/user_avatar/forum.radzen.com/desen/32/3995_2.png) [@Desen](https://forum.radzen.com/u/Desen)\
**Post date:** [August 2, 2020, 11:15pm UTC](https://forum.radzen.com/t/js-not-working-on-new-install/4489/5 "2020-08-02T23:15:44Z")

</div>

I know, I followed that, and went here: [https://www.radzen.com/documentation/blazor/menu/](https://www.radzen.com/documentation/blazor/menu/)

I have done what it says to do and just copy/pasted the sample code, and it does not work.

I've already read the documentation and looked for similar errors online.

It just doesn't work.

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [August 3, 2020, 4:11am UTC](https://forum.radzen.com/t/js-not-working-on-new-install/4489/6 "2020-08-03T04:11:23Z")

</div>

You may have hit the issue described in [this thread](http://forum.radzen.com/t/radzen-blazor-components-dont-respect-custom-environments/2690/2). You can easily verify by checking your browser's Network tab for any failed HTTP requests.

---

<div class="post-metadata">

**Author:** ![Desen](https://forum.radzen.com/user_avatar/forum.radzen.com/desen/32/3995_2.png) [@Desen](https://forum.radzen.com/u/Desen)\
**Post date:** [August 3, 2020, 2:18pm UTC](https://forum.radzen.com/t/js-not-working-on-new-install/4489/7 "2020-08-03T14:18:48Z")

</div>

Sure enough, that was it. I just needed the webBuilder.UseStaticWebAssets(); set in my program.cs

Thank you! Much appreciated! I'm sure this will help in future builds as well since it's a bug in .net core.
