Ver Mensaje Individual
  #5 (permalink)  
Antiguo 30/09/2009, 13:05
trupicha
 
Fecha de Ingreso: junio-2009
Mensajes: 6
Antigüedad: 14 años, 10 meses
Puntos: 0
Respuesta: Ayuda por favor, ejecutar javascript en un evento

Cita:
Iniciado por ah_puch Ver Mensaje
mmm yo lo acabo de probar y si lo hace...
quitaste el response.Redirect?
asi lo tengo en este momento


Protected Sub btnSalvar_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnSalvar.Click
Dim i As Integer
If Val(lblTotal.Text) <> 0 Then
For i = 1 To 11 Step 1

Next
Page.ClientScript.RegisterClientScriptBlock(Page.G etType, "ClientScript", "alert('Tu accion fue realizada'); location.href='~/Default.aspx';", True)
End If
End Sub