Passing data from MudDialog back to parent #5013
-
Hi, I am struggling to find an example of what I need to achieve. If anyone would be so kind as to point me in the right direction, it would be greatly appreciated. On my page, I have a button that opens a MudDialog which renders a MudTable with some data. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This is what I use to pass parameters, launch and receive an object back from a dialog
Then from your table within your dialog you can add a button to the row or a on row click event (not sure about double click) to run what ever code you need and then close the dialog with this:
I am by no means and expect and new to C# and Blazor so take this as you will. Hope it helps! |
Beta Was this translation helpful? Give feedback.
This is what I use to pass parameters, launch and receive an object back from a dialog
Then from your table within your dialog you can add a button to the row or a on row click event (not sure about double click) to run what ever code you need and then close the dialog with this:
Mud…