I would like to do something like the following in a C#.Net web application. I would like to popup a message box with OK and Cancel button. Based on what the user clicks I would like to
if (System.Windows.Forms.Mess
ageBox.Sho
w("The Mapping will be deleted permanently. Press OK to Continue.", "FirstDeal Warning", System.Windows.Forms.Messa
geBoxButto
ns.OKCance
l, System.Windows.Forms.Messa
geBoxIcon.
Question) == System.Windows.Forms.Dialo
gResult.OK
)
{
// if ok do something
}
Start Free Trial