Custom Button Text with ShowAsync()?

5 posts, 0 answers
  1. David
    David avatar
    15 posts
    Member since:
    Mar 2013

    Posted 21 Aug 2013 Link to this post

    Is it possible to have custom button text when using the ShowAsync() method to display a RadMessageBox?

    If so, please provide a sample.

    Thanks!
  2. Todor
    Admin
    Todor avatar
    778 posts

    Posted 21 Aug 2013 Link to this post

    Hi David,

    The overloads of the ShowAsync method are very similar to the overloads of the Show method. You can see many examples in our online documentation. Here is the first example, shown with the async implementation:
    await RadMessageBox.ShowAsync(new string[] { "Button1", "Button2", "Button3", "Button4" }, "Title");

    If you need further assistance, don't hessitate to write us back.
     
    Regards,
    Todor
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
  4. David
    David avatar
    15 posts
    Member since:
    Mar 2013

    Posted 21 Aug 2013 Link to this post

    Go it.

    I didn't realize that the Async method had the same overrides as the standard Show method.

    Thanks!
  5. Francesco
    Francesco avatar
    1 posts
    Member since:
    Mar 2013

    Posted 10 Nov 2013 Link to this post

    How can I make a MessageBox with 3 buttons with a description of each button?

    Thanks,
    Francesco
  6. Todor
    Admin
    Todor avatar
    778 posts

    Posted 12 Nov 2013 Link to this post

    Hi Francesco,

    Thank you for writing.

    Our online documentaion contains many examples of RadMessageBox including how to add buttons with custom content. You can have a look at the second example, which demonstrates how to show a message box with four buttons.

    Let us know if you need further assistance.
     
    Regards,
    Todor
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top
DevCraft banner