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
Loading
Blocked AccountPosted Aug 27, 2008, 1:34 AM
Hi,
Use this code for showing the confirm message box.
buttonID.Attributes.Add("onclick","return confirm(‘Do you want to continue?’);");
Niradhip ChakrabortyPosted Aug 27, 2008, 6:45 AM
Mahesh has written an article on this.
Check it out:
http://www.c-sharpcorner.com/UploadFile/mahesh/WebMsgBox09082006110929AM/WebMsgBox.aspx
Easa RahmaniPosted Aug 27, 2008, 4:09 AM
that we can use from user answer.
Example:
int i = 0;
if (MessageBx("Are you sure ?"))
i= 1;
else
i= -1;