R
ratnakarp
hi,
i want to pop up a message box when a button is clicked. the situation
is something like this as follows.
protected void button1_click(.. , ..)
{
.......
........
.......
response.write(<script language="javascript"> or
language="vbscript">confirm or msgbox or etc..</script>)
if(clicked yes)
{
do the following
}
else
get out of the method
}
is there any way if user clicks yes on the confirm box or message box,
the rest of the code in button1 click method should be executed
otherwise get out of the method. Any help or reference is appreciated.
Thanks,
Ratnakar Pedagani
i want to pop up a message box when a button is clicked. the situation
is something like this as follows.
protected void button1_click(.. , ..)
{
.......
........
.......
response.write(<script language="javascript"> or
language="vbscript">confirm or msgbox or etc..</script>)
if(clicked yes)
{
do the following
}
else
get out of the method
}
is there any way if user clicks yes on the confirm box or message box,
the rest of the code in button1 click method should be executed
otherwise get out of the method. Any help or reference is appreciated.
Thanks,
Ratnakar Pedagani