I'm trying to use event handling with a user control so that I can Raise an Event that the Webform the has the Control on it sees. The event raises fine within the web control, but I never see that event get fired on the Webform side. Does anyone have an idea as where I should start?
I have declared the Events on the Webform from the Control as Follows:
Protected WithEvents UCSearch1 As Newfx.SearchTool
Then I also have a sub that I thought would deal with the Event:
Private Sub UCSearch1_DDLUsersListChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles UCSearch1.DDLUsersListChanged
'Business Logic
End Sub
Thanks in advance for any help.
Ken
I have declared the Events on the Webform from the Control as Follows:
Protected WithEvents UCSearch1 As Newfx.SearchTool
Then I also have a sub that I thought would deal with the Event:
Private Sub UCSearch1_DDLUsersListChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles UCSearch1.DDLUsersListChanged
'Business Logic
End Sub
Thanks in advance for any help.
Ken