Current filter:
                                You should refresh the page.
                                  • Hi,

                                    Please advice how to close a Dialog window created by DialogService of the DevExpress MVVM Framework from code, without a user click on command button.
                                    For example scenario. We create dialog that has 2 commands (buttons) "Save" and Close. When user clicks "Save" button a saving operation started in background thread and only if and when operation successfully completed. Dialog must be closed automatically.

                                    Thank you in advance.

                                1 Solution

                                Creation Date Importance Sort by

                                Hi,
                                To accomplish this task, you can define a CurrentWindowService at the DialogView level as shown in the E4861: How to: Manage documents via WindowedDocumentUIService and TabbedDocumentUIService. In this case, you can use CurrentWindowService's Close method to close the current window. Please try this solution and let me know whether or not it meets your requirements.
                                Thanks,
                                Michael