i have started creating a razor application with the Radzen NuGet package.
I'm really impressed. A lot of controls already and visually all looks very good !
I have a question regarding the dialogService. Is it possible to pass an object when closing the Service ?
this.dialogService.Close();
I want to pass my newly created Object. It would be nice to have something like this
this.dialogService.Close(newCustomer);
This way I can also know in the calling page if the Cancelled -or OK-Button is clicked.
Sorry but I seem to be missing where exactly are you returning a value?
I have the following scenario.
I have a grid with a button that opens a dialog with an edit form of a row object.
After a successful submit on the close action I need to supply the grid back with the updated value.
Since you can't use a cascading parameter with the dialog and just a dictionary with params, what is the way to tackle this?
Again I seem to be missing the line of code that returns whatever kind of value to the calling component?
I'm using the Radzen Desktop app, Created a dialog for picking email addresses from a multiselect listbox, it has an add button which closes the dialog with result:
The Result property of the Close dialog action should be the name of the page property that represents the selection of the multiselect e.g. ${emailAddresses}
Yes I'm doing the same, but on the other side in the page which opens the dialog, the code generator doesn't generate the correct overload for the Dialog Service.
I ended up with my custom function which I simply invoke:
Hello
I am kind a new to Radzen and also Blazor.
I am trying to implement simple Dialog which will return edited value.
I finally manage to create some very simple working test solution.
Could you tell me if it is correct implementation?