Radzen has a MessageBox/Confirm/Dialog component that can be used to display short messages to the user or to make the user confirm an action (e.g. "Do you really want to delete XYZ?").
Another feature that would be very helpful is an "Input Box" component.
Simply by invoking a method, a dialog box is shown that has a title, a prompt text and a text box (with an optinally prefilled text). When the user clicks OK, the dialog is closed and the text that is currently in the textbox is returned to the calling method for further processing (e.g. "Please enter your name: [...]").
This would be very helpful because there are often scenarios where a single string input needs to be queried.
Is such a functionality already available or what would be the easiest way to get such a feature set up in Radzen?
Hi ,
How to do this with multiple values that you want the user to input and return to the process.
e.g. I want the user to input multiple values for a underlaying function call to export data.
I'm using the Radzen designer.
You would need an additional class if you want to pass more than one result. You can define it in the .razor.cs file of the page that opens the dialog.