This is a migrated thread and some comments may be shown as answers.

Custom Button Text with ShowAsync()?

4 Answers 98 Views
MessageBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 21 Aug 2013, 12:08 PM
Is it possible to have custom button text when using the ShowAsync() method to display a RadMessageBox?

If so, please provide a sample.

Thanks!

4 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 21 Aug 2013, 12:53 PM
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.
0
David
Top achievements
Rank 1
answered on 21 Aug 2013, 03:46 PM
Go it.

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

Thanks!
0
Francesco
Top achievements
Rank 1
answered on 10 Nov 2013, 04:31 PM
How can I make a MessageBox with 3 buttons with a description of each button?

Thanks,
Francesco
0
Todor
Telerik team
answered on 12 Nov 2013, 11:04 AM
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.
Tags
MessageBox
Asked by
David
Top achievements
Rank 1
Answers by
Todor
Telerik team
David
Top achievements
Rank 1
Francesco
Top achievements
Rank 1
Share this question
or