Confirm dialog with "Yes"/"No"/"Do not remember again" buttons

2 posts, 0 answers
  1. ux
    ux avatar
    10 posts
    Member since:
    Jun 2017

    Posted 13 May 2018 Link to this post


    Is it possible to;

    1. Rename default Ok and Cancel buttons as Yes and No.

    2. Have a third button (and dialogresult) in predefined confirm dialog?


  2. Martin Ivanov
    Martin Ivanov avatar
    2164 posts

    Posted 16 May 2018 Link to this post


    To achieve your requirement you can extract the style of the dialog you are using (RadConfirm or RadPrompt) and modify it a bit. Basically, you can set the Content property of the OK and Cancel buttons to match the Yes and No words, and also include an additional button for the "Do not remember again" option. I prepared a small example showing this approach. I hope that helps.

    As I can see you already found the feature request for introducing an additional button to the template of the dialog, but I am posting it also here -

    Martin Ivanov
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top