L
Luis Alvarado
Hello everybody,
I am new programming in asp.net, recently I have been hired in a company
and they were creating a simple application, this application is developed
in asp.net 2 visual Studio 2005 and is tested in a Windows 2003 standard.
My problem is that when I check some buttons events, they are calling a
Msgbox function, I have read that that is incorrect, but I have tried to
change it for a java Script messagebox and even though I have found some
examples (using a dll)they are not working very well. Can you help me with
this?
The programmer is not working for the company, and I can't use that
messagebox(the server returns a security error) and I don't want to (it
could handle the server).
This is an example of the code for a asp.net button I found:
Protected Sub LinkPB_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles LinkPB.Click
If MsgBox("Desea confirmar los cambios?", MsgBoxStyle.YesNo, "Confirmacion")
= MsgBoxResult.Yes Then
....
If (MsgBox("Desea continuar?", MsgBoxStyle.YesNo) = MsgBoxResult.Yes)
Then
...
if success= true then
MsgBox("Thanks")
End if
End If
End If
Thanks!
I am new programming in asp.net, recently I have been hired in a company
and they were creating a simple application, this application is developed
in asp.net 2 visual Studio 2005 and is tested in a Windows 2003 standard.
My problem is that when I check some buttons events, they are calling a
Msgbox function, I have read that that is incorrect, but I have tried to
change it for a java Script messagebox and even though I have found some
examples (using a dll)they are not working very well. Can you help me with
this?
The programmer is not working for the company, and I can't use that
messagebox(the server returns a security error) and I don't want to (it
could handle the server).
This is an example of the code for a asp.net button I found:
Protected Sub LinkPB_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles LinkPB.Click
If MsgBox("Desea confirmar los cambios?", MsgBoxStyle.YesNo, "Confirmacion")
= MsgBoxResult.Yes Then
....
If (MsgBox("Desea continuar?", MsgBoxStyle.YesNo) = MsgBoxResult.Yes)
Then
...
if success= true then
MsgBox("Thanks")
End if
End If
End If
Thanks!