Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Display msgbox in ASP.net

0 views
Skip to first unread message

Joe Ocampo

unread,
Jun 21, 2002, 12:40:20 PM6/21/02
to
How do you envoke a msgbox from ASP.net?  Do you have to use the Alert javascript?  I want to capture Yes/No from the dialog box.  Please help
 
Thanks in advance
 

Jim Baker

unread,
Jun 21, 2002, 12:47:46 PM6/21/02
to
>>Do you have to use the Alert javascript?
 
Yes, in one way or another...
 
Jim

kevin marshall

unread,
Jun 21, 2002, 12:58:48 PM6/21/02
to
Javascript alert only gives an "ok" button, use:
 
if(confirm("Do you......") {
    //they clicked ok button
}
else{
    //they clicked cancel
}

--

Kevin Marshall
 

 
"Joe Ocampo" <jose_...@harcourt.com> wrote in message news:ePS#8LUGCHA.1988@tkmsftngp08...

kevin marshall

unread,
Jun 21, 2002, 4:18:56 PM6/21/02
to
That should have been
 
if(confirm("Do you......")) {
    //they clicked ok button
}
else{
    //they clicked cancel
}
 
missed a )

--

Kevin Marshall
 

 
"kevin marshall" <k...@webxel.com> wrote in message news:udoMwSUGCHA.1876@tkmsftngp12...
0 new messages