© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
4 replies
Naarfy

Blazor - No event handlers associated

Hi. I have a simple Blazor project (.NET8) I have fields who write to a database on click.

The issue I have is most of the time - but not everytime - I click on an input field, I get the error message here

https://pastebin.com/Y0FxsfUe

When that happens, I can't invoke my submit function (I get the same error with the handler ID incremented by 1)

sometimes I restart the server and it works I can upsert my post no problem.

here is my code

https://pastebin.com/gcWnRyRB
Pastebin
Uncaught (in promise) Error: System.ArgumentException: There is no ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
@page "/posts"@using Blazorise@using Markdig@using atbackend.Data@u...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Event handlers not registering
C#CC# / help
2y ago
✅ Win Form Event Handlers question
C#CC# / help
3y ago
❔ Blazor - Event executed more than once
C#CC# / help
3y ago
Blazor sends wrong index to the event
C#CC# / help
2y ago