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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

EjsDialog DialogButtons (Ok, Cancel) not working after upgrading to 17.4.43/17.4.44

Thread ID:





150857 Jan 22,2020 07:24 AM UTC Feb 17,2020 06:04 AM UTC Blazor 5
Tags: Dialog
Asked On January 22, 2020 07:24 AM UTC

<EjsButton @onclick="@OnBtnClick">Open Dialog</EjsButton>
<EjsDialog @ref="DialogObj" Width="250px" ShowCloseIcon="true" IsModal="true">
        <Header> Dialog</Header>
        <Content> This is a Dialog with button and primary button</Content>
        <DialogButton ButtonModel="@OkBtn" OnClick="@OnClick" />
        <DialogButton ButtonModel="@CancelBtn" OnClick="@OnClick" />

@code {
    EjsDialog DialogObj;

    private void OnClick(Object args)
    private void OnBtnClick()

    public Syncfusion.EJ2.Blazor.Buttons.ButtonModel OkBtn = new Syncfusion.EJ2.Blazor.Buttons.ButtonModel { Content = "OK", IsPrimary = true };
    public Syncfusion.EJ2.Blazor.Buttons.ButtonModel CancelBtn = new Syncfusion.EJ2.Blazor.Buttons.ButtonModel { Content = "Cancel" };

Indrajith Srinivasan [Syncfusion]
Replied On January 23, 2020 08:48 AM UTC

Hi Ashimaz,

Greetings from Syncfusion support 
Already, we found this issue internally and resolved it in our end. We will include this fix in our next nuget release. Until then, could you please use the below NuGet package to resolve the issue in your end?

Nuget package: https://www.syncfusion.com/downloads/support/forum/150748/ze/Syncfusion.EJ2.Blazor.
We prepared a sample with dialog button click and can be downloaded from the below location.  
Sample: https://www.syncfusion.com/downloads/support/forum/150857/ze/DialogButton-1452927685

Can you please try out the above solution and let us know if you face any difficulties?

Replied On January 24, 2020 02:26 PM UTC

Thank you.

Indrajith Srinivasan [Syncfusion]
Replied On January 27, 2020 04:21 AM UTC

Hi Ashimaz,

Thanks for your update. Please let us know if you need any further assistance on this.


Replied On February 14, 2020 05:28 PM UTC

Even with version 17.4.49 this is not working.
My situation: 
The buttons are displayed conditional, several StateHasChanged got fired from other components.

Indrajith Srinivasan [Syncfusion]
Replied On February 17, 2020 06:04 AM UTC

Hi Nico, 
Greetings from Syncfusion support, 
We have validated your reported query by rendering the dialog button conditionally. But its click action works fine with the version 17.4.49. We have also prepared a sample based on your requirement with Dialog buttons rendered conditionally. 
If you still face the issue, kindly share the dialog page and its related code to reproduce your reported issue in our end. So, we will assist you as much as possible. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon