Radzen will update the way dialogs work in the upcoming release.
New features
- The
Open dialog
action will now have aThen
event fired when the user closes the dialog. - A new
Close dialog
action is now available which allows the developer to specify returnresult
from the dialog. It is available in theThen
event asresult
. - 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).