Hello,
I am a new web programmer .
I used WebMsgBox for showing a message to user.
I need a message box for user confirm and it must be like WebMsgBox, and I can call it from C# code-behind.
Please help me that I use a message box.
Have a good time. :)
Easa
Message box for confirm
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Blocked AccountRank #403 · 6.2K reputationPosted Aug 26, 2008, 9:34 PM EDT
Hi,
Use this code for showing the confirm message box.
buttonID.Attributes.Add("onclick","return confirm(‘Do you want to continue?’);");
Easa Rahmani5 reputationPosted Aug 27, 2008, 12:09 AM EDT
that we can use from user answer.
Example:
int i = 0;
if (MessageBx("Are you sure ?"))
i= 1;
else
i= -1;
Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Aug 27, 2008, 2:45 AM EDT
Mahesh has written an article on this.
Check it out:
http://www.c-sharpcorner.com/UploadFile/mahesh/WebMsgBox09082006110929AM/WebMsgBox.aspx