D
Dave
Hello all,
I have been able to use a Javascript alert box in my vb.net web application,
for example:
Dim msg As String = "Hello, world."
Dim alertScript As String = "<script language=JavaScript runat=server>"
alertScript &= "alert('" & msg & "');"
alertScript &= "</script>"
RegisterClientScriptBlock(sKey, alertScript)
----------------------------------------------------------------------
Now I'm a little more ambitious, and would like to use a confirm box and
capture the return value of the dialog.
Is there a simple way to do this?
Thanks very much in advance,
Dave
I have been able to use a Javascript alert box in my vb.net web application,
for example:
Dim msg As String = "Hello, world."
Dim alertScript As String = "<script language=JavaScript runat=server>"
alertScript &= "alert('" & msg & "');"
alertScript &= "</script>"
RegisterClientScriptBlock(sKey, alertScript)
----------------------------------------------------------------------
Now I'm a little more ambitious, and would like to use a confirm box and
capture the return value of the dialog.
Is there a simple way to do this?
Thanks very much in advance,
Dave