Peter,
This is the relevent code for what I currently have:
âUser Control Code:
Protected WithEvents btnLogin As System.Web.UI.WebControls.Button
Public Event LoginClick As EventHandler
Protected Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click
RaiseEvent LoginClick(Me, e)
End Sub
âPage Code:
Protected WithEvents LoginComponent As LogIn
Protected Sub Process(ByVal sender As Object, ByVal e As EventArgs) Handles LoginComponent.LoginClick
sender.BackColor = Color.Blue
End Sub
I've set break points on both btnLogin_Click and Process however, it only makes it to btnLogin_Click. Why would it skip calling the sub routine from the page?
|