Radzen will update the way dialogs work in the upcoming release.
New features
- The
Open dialogaction will now have aThenevent fired when the user closes the dialog. - A new
Close dialogaction is now available which allows the developer to specify returnresultfrom the dialog. It is available in theThenevent asresult. - Radzen will show a code generation error if the page specified in
Open dialogdoes 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).