Maybe you can use this:

http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ModalPopup/ModalPopup.aspx


Juan M. Oviedo



> Date: Tue, 13 Apr 2010 14:23:43 -0700
> Subject: [DotNetDevelopment] Pop up javascript alert in VB.NET code
> From: [email protected]
> To: [email protected]
> 
> Hi,
> 
> In my page I need to pop up a javascript alert message that allows the
> user to proceed or cancel the operation. It would be something like
> this:
> 
> Protected Sub theButton_Click(...) Handles thButtons.Click
>    If (all conditions are ok)
>       proceed
>    else
>       popup javascript: "Are you sure you want to continue?"
>       'if user wants to continue, proceed
>       'if user cancels the operation, leave Sub
> End Sub
> 
> Is this something possible?
> 
> Thanks,
> 
> Ana
> 
> 
> -- 
> To unsubscribe, reply using "remove me" as the subject.
                                          

Reply via email to