Incoming change in the way dialogs work in Radzen

Radzen will update the way dialogs work in the upcoming release.

New features

  • The Open dialog action will now have a Then event fired when the user closes the dialog.
  • A new Close dialog action is now available which allows the developer to specify return result from the dialog. It is available in the Then event as result.
  • Radzen will show a code generation error if the page specified in Open dialog does not exist.

Breaking change

The dialogs no longer use the Angular router as it didn’t allow us to support return values from dialogs without hacks. This means that pages that open in a dialog no longer update the browser URL.

All existing applications should continue to work as expected as long as they do not try to open dialogs via the Angular router API via custom code (highly unlikely).

1 Like