
16/08/2007, 09:41
|
| | Fecha de Ingreso: junio-2007
Mensajes: 53
Antigüedad: 17 años, 7 meses Puntos: 0 | |
Re: ImageButton con target _blank gracias por tu respuesta iceman_cml ... voy a implementarlo a ver como va...saludos!
Funciono!!!
tuve que cambiar un poco el codigo por el tema de la concatenacion con comillas, pero llego a funcionar ... al final quedo asi:
If Session("IdPerfil") = 1 Then
imgbtnSRQ.Attributes.Add("onclick", "javascript:window.open(" & "'PrincipalAdmin.aspx'" & " ," & "'PrincipalAdmin'" & "); return false;")
ElseIf Session("IdPerfil") = 2 Then
imgbtnSRQ.Attributes.Add("onclick", "javascript:window.open(" & "'PrincipalRRHH.aspx'" & " ," & "'PrincipalAdmin'" & "); return false;")
ElseIf Session("IdPerfil") = 3 Or Session("IdPerfil") = 5 Then
imgbtnSRQ.Attributes.Add("onclick", "javascript:window.open(" & "'Principal.aspx'" & " ," & "'PrincipalAdmin'" & "); return false;")
End If
gracias IceMAn!!!
Última edición por empilado; 16/08/2007 a las 11:09 |