Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4222

JavaScript event doesn't work when add @rendermode InteractiveServer

$
0
0

I'm starting with ASP.NET Core 8 and Blazor.

I put my script in main layout or in app.razor.

When I add components in my application and I put @rendermode InteractiveServer to call server functions, all my JavaScript events don't work.

So if I put a datable.js not script work if I use @rendermode InteractiveServer.

I am looking for a solution with chatgpt but no answer work except load each function in afterending event with java runtime or something that.

Problem, I don't know all event my app need and I'm sure a easier solution must be exist.

Thanks


Viewing all articles
Browse latest Browse all 4222

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>