# ConfirmOptions.ReverseButtons?

**URL:** <https://forum.radzen.com/t/confirmoptions-reversebuttons/6350>\
**Category:** Radzen.Blazor Components\
**Created:** [January 19, 2021, 7:49am UTC](https://forum.radzen.com/t/confirmoptions-reversebuttons/6350 "2021-01-19T07:49:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DragonSpark](https://forum.radzen.com/user_avatar/forum.radzen.com/dragonspark/32/2491_2.png) [@DragonSpark](https://forum.radzen.com/u/DragonSpark)\
**Post date:** [January 19, 2021, 7:49am UTC](https://forum.radzen.com/t/confirmoptions-reversebuttons/6350/1 "2021-01-19T07:49:06Z")

</div>

I am attempting to use `DialogService.Confirm` but the buttons are reverse when compared with other dialogs that I have setup (for display via `DialogService.Open`).

Is there a way by chance to reverse these two buttons so that `Cancel` is first and `OK` is second?

I did a search through `ConfirmOptions` but did not see anything obvious.

Thank you for any consideration/assistance.

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [January 19, 2021, 7:58am UTC](https://forum.radzen.com/t/confirmoptions-reversebuttons/6350/2 "2021-01-19T07:58:47Z")

</div>

Hi @DragonSpark,

With DialogService.Open you can open any content - you can also create your own custom confirm dialog.

---

<div class="post-metadata">

**Author:** ![DragonSpark](https://forum.radzen.com/user_avatar/forum.radzen.com/dragonspark/32/2491_2.png) [@DragonSpark](https://forum.radzen.com/u/DragonSpark)\
**Post date:** [January 19, 2021, 8:19am UTC](https://forum.radzen.com/t/confirmoptions-reversebuttons/6350/3 "2021-01-19T08:19:46Z")

</div>

Thank you for the very quick reply, @enchev! It is much appreciated.

I am familiar with your presented recommendations, but trying to save myself some work. 😁

Everything is exactly how I would like it with the `DialogService.Confirm` with the exception of the button order. As far as I understand `DialogService.Open` does not easily return a value and returns a `Task` without any easy access to the dialog state. Perhaps I have something fundamentally misunderstood.

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [January 19, 2021, 8:36am UTC](https://forum.radzen.com/t/confirmoptions-reversebuttons/6350/4 "2021-01-19T08:36:49Z")

</div>

Changing position of Confirm buttons is not possible.

---

<div class="post-metadata">

**Author:** ![DragonSpark](https://forum.radzen.com/user_avatar/forum.radzen.com/dragonspark/32/2491_2.png) [@DragonSpark](https://forum.radzen.com/u/DragonSpark)\
**Post date:** [January 20, 2021, 1:26pm UTC](https://forum.radzen.com/t/confirmoptions-reversebuttons/6350/5 "2021-01-20T13:26:11Z")

</div>

OK @enchev thank you for the clarification. I see that you have open sourced `Radzen.Blazor`. Congratulations! I would submit a PR for this issue if I hadn't already worked around it on this end. So much for avoiding all the work. 😁

Maybe someone else will see this thread and feel compelled to submit a PR.
