How do you create a dialog message box using ASP .NET?

In WinForms, I can do this:\[code\]var msg = MessageBox.Show("Are you sure?", "WARNING!", MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2);if (msg == DialogResult.Yes){ //do something}\[/code\]How do I mimic the above in ASP .NET/C#?
 
Back
Top