Y el código de la página de CodeBehind en este caso WebForm1.aspx.vb sería:
Public Class WebForm1
Inherits System.Web.UI.Page
Protected WithEvents btnPopup As System.Web.UI.WebControls.Button
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
End Sub
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
btnPopup.Attributes.Add("onclick", "javascript:url();")
End Sub
End Class
Usuarios que han visto este tema también han visto...
- Validación de E-Mails con ASP
- Generar password aleatorios en ASP
- Librerías ASP
- Mostrar tablas de Access con ASP
- Compactar una BBDD Access desde ASP

Información legal | Política de Privacidad | Contacte con nosotros
Otro proyecto de Factoría de Internet. Copyright© 2003-2008 Factoría de Internet S.L.. Todos los derechos reservados.