Click here to Skip to main content
16,018,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends,

I am developing a Silverlight web application. I can use MessageBox in this to show message to the user. But i can show only Ok and OkCancel buttons.
How can show a message box which contain YesNocancel Buttons?
Please help!
Thanks in advance..
Posted

Does the Silverlight messagebox not have parameters to let you set what buttons are shown ? If it doesn't, I guess it's showing the dialog that the browser can show in javascript, which does not have buttons you can set.
 
Share this answer
 
Comments
rodriguesjax 14-Jul-10 3:16am    
Silverlight messagebox code is
MessageBox.Show("This is message text", "Caption", MessageBoxButton.OKCancel); or
MessageBox.Show("This is message text", "Caption", MessageBoxButton.OK);
And there is some difference in appearance from javascript like button is flat in silverlight messagebox.
See this thread[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900