Skip to main content

All Questions

Tagged with
2 votes
2 answers
3k views

Blazor components: How to communicate from grandchild to child to parent or grandchild to parent

In my Blazor server app, I have a page called Home that is basically a search page. On the Home page (the "parent") there is a form with controls to filter the data stored in a backend ...
LWC433's user avatar
  • 23
1 vote
1 answer
1k views

Passing a function with parameters to a child component

I'm writing blazor component wrappers for some of my favorite Javascript plugins using Javascript interop. My parent component has this function: async Task<IEnumerable<DpEvent>> GetEvents(...
Tom Crosman's user avatar
  • 1,257
5 votes
1 answer
4k views

Event Callback issue parent/child component "does not have a property matching the name 'OnClickCallback'"

The issue So I have an issue in Blazor where I am trying to invoke a method in my MainLayout parent component from a child component (NavMenu). All I am trying to achieve is to open a dialog in the ...
Jordan's user avatar
  • 159
1 vote
1 answer
996 views

EventCallback seems to be changing a parameter value on the razor page

I have a view in my project with 2 nested views/components (the main view contains a tree view and the tree view contains individual 'node' views for each object in the tree). I'm using event ...
Broad3857's user avatar
  • 443