I've just started using ASP, so while programming the code behind in C# I was surprised to find out that MessageBox was not available to me to make a confirmation popup triggered by a button click. While googling I noticed a lot of suggestions to use Javascript, but was hoping to avoid adding another language to my code. I tried to implement the suggested Javascript, but must be missing something in the syntax.
I did find one that was all C#: C# MessageBox It compiles, but does not pop up an alert. I'm still trying to see if I can make it work. I was calling it as a button event and thought perhaps the event wasn't being hit, but I checked it in page load also and still nothing popped up. Any suggestions?