06/03/2008, 12:14
|
| | Fecha de Ingreso: julio-2007 Ubicación: Colombia
Mensajes: 61
Antigüedad: 17 años, 5 meses Puntos: 0 | |
Re: Actualizar Pop up Este es el evento que me permite abrir las páginas ...
Private Sub DataGrid2_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs ) Handles DataGrid2.ItemCommand
Dim Command As String
Command = CType(e.CommandSource, Button).Text
Try
Select Case Command
Case "A" Response.Write("<script>window.open('PAGINA1.aspx' ,'ventana','width=700,height=400,screenX=400,scree nY=400,top=400,left=400,location=no,menubar=no,res izable=yes,status=no,directories=no,toolbar=no');</script>")
Case "B" Response.Write("<script>window.open('PAGINA2.aspx' ,'ventana','width=700,height=400,screenX=400,scree nY=400,top=400,left=400,location=no,menubar=no,res izable=yes,status=no,directories=no,toolbar=no');</script>")
Case "C" Response.Write("<script>window.open('PAGINA3.aspx' ,'ventana','width=700,height=400,screenX=400,scree nY=400,top=400,left=400,location=no,menubar=no,res izable=yes,status=no,directories=no,toolbar=no');</script>")
End Select
Catch ex As Exception
End Try
End Sub |