/ Published in: C#
Just the standard Yes/No MessageBox
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if (MessageBox.Show("Are you sure that you want to delete this event registration?", "Delete Event Registration", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2) == DialogResult.Yes) { }