Button position and clickable positions are off



Blazor server popup: Clicking buttons don't work but two grey dots are actual clickable positions.

My project set up is as follows:








3 Replies

BS Buvana Sathasivam Syncfusion Team May 19, 2022 05:06 PM UTC

Hi Ehsanul,


Greetings from Syncfusion support.


In your shard code, you defined nested DialogButton tags. You can solve your problem by setting the DialogButton tag in the below way.

<SfDialog>

………

    <DialogButtons>

        <DialogButton Content="OK" IsPrimary="true" OnClick="@OkClick" />

        <DialogButton Content="Cancel" OnClick="@CancelClick" />

    </DialogButtons>

</SfDialog>


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/NET6SE~1-842533118


Documentation: https://blazor.syncfusion.com/documentation/dialog/getting-started#render-dialog-with-buttons

Please check the above sample and let us know if your problem has been resolved.

Regards,

Buvana S



EC Ehsanul Chowdhury May 20, 2022 07:29 AM UTC

Thanks Vuvana.

In fact I copy pasted the code from one of your tutorial page.

But thanks for pointing out the issue.


Best regards,

Ehsanul Chowdhury



BS Buvana Sathasivam Syncfusion Team May 23, 2022 07:10 AM UTC

Hi Ehsanul,


Thank you for your update. We did not use the nested DialogButton tag in our documentation page.

Documentation: https://blazor.syncfusion.com/documentation/dialog/getting-started


Can you please share information on where you found the code? It will be helpful to correct it on our site.


Regards,

Buvana S


Loader.
Up arrow icon