We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

After updating to 21.2.3 DialogService is not working correctly

I use the Dialog Service through our application. I noticed yesterday after I updated to 21.2.3, it is no longer working.

The isConfirm value never comes back.

bool isConfirm = await DialogService.ConfirmAsync("Do you want to delete this date and all of its services?", "Delete Date"); ToastService.ShowInfo(isConfirm.ToString());


if (!isConfirm)

{

return;

}



6 Replies

CM Charles Matvchuk May 4, 2023 01:44 PM UTC

Have confirmed that when I roll back to 21.1.41 the DialogService is working correctly.





?? ?? replied to Charles Matvchuk May 7, 2023 06:01 PM UTC

ME TOO



MR Mahmood Ramzani May 8, 2023 12:46 PM UTC

I have the same issue.



YA Yannici May 8, 2023 07:46 PM UTC

Same issue!



MA Maciej May 9, 2023 07:27 AM UTC

In my case:


bool confirmResult = false;

//--> dialog window opens

confirmResult = await DialogService.ConfirmAsync("Are you sure?", "Confirmation",

                      new DialogOptions()

                      {

                         PrimaryButtonOptions = new DialogButtonOptions { Content = "Yes" },

                         CancelButtonOptions = new DialogButtonOptions { Content = "Cancel" },

                      });

//--> "await" does not stop until the window is closed

//--> the window is visible, but the execution of the program does not wait,

//--> confirmResult is false, regardless of the dialog result

if (confirmResult)

{

...

}

In version 20.4..0.53 the DialogService is working correctly.



PK Priyanka Karthikeyan Syncfusion Team May 9, 2023 02:50 PM UTC

Hi Charles,

We would like to inform you that we have resolved the reported issue in our latest version 21.2.4. Therefore, we recommend that you update your NuGet to the latest version to resolve the current problem. Please refer to the sample shared below for reference.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/predefined_dialogs-1657036432

Regards,

Priyanka K



Loader.
Up arrow icon