G
Guest
Hi,
I made a small ASP.net web page and in it I used a messagebox to confirm
first before an execution would take place.
It worked fine while testing it locally, but when i published it on a server
it didn't work anymore.
I understand why, but still have the problem that I would like the user to
confirm first before execution begins.
How is it done?
I searched a bit and found javascript solution but how do I fit them in my
code?
My code looks something like this :
Dim somethings
result = MsgBox(MsgText.ToString, MsgBoxStyle.YesNo +
MsgBoxStyle.MsgBoxSetForeground, "title")
If result = vbYes Then
start execution
Else
some code
End If
I made a small ASP.net web page and in it I used a messagebox to confirm
first before an execution would take place.
It worked fine while testing it locally, but when i published it on a server
it didn't work anymore.
I understand why, but still have the problem that I would like the user to
confirm first before execution begins.
How is it done?
I searched a bit and found javascript solution but how do I fit them in my
code?
My code looks something like this :
Dim somethings
result = MsgBox(MsgText.ToString, MsgBoxStyle.YesNo +
MsgBoxStyle.MsgBoxSetForeground, "title")
If result = vbYes Then
start execution
Else
some code
End If