| Sender |
shincy
|
| Recipient(s) |
Shivshanker Cheral
|
| Date |
17 Sep 2009
|
Re: Re: MessageBox
|
>>> On 17 Sep 2009, Shivshanker Cheral wrote:
In Web application message box does not support. you can do similarly but not exactly Design one more window with yes no button with small size look like message box and open using javascript
>>> On 17 Sep 2009, shincy wrote:
sir, Thanks you for giving this code.But I want get the messagebox in Web Application C# code.
using System;using System.Windows.Forms;public class MainClass { public static void Main() { switch (MessageBox.Show("Do you want to create a new file?", "WonderWord", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question)) { case DialogResult.Yes: // "Yes" processing break; case DialogResult.No: // "No" processing break; case DialogResult.Cancel: // "Cancel" processing break; } }}
with Regards Shincy
|