See if this tutorial helps. The best way to do this, of course, is to connect an event that is not as difficult as you think. The basics:
1. Define an event in your control class:
Public Event MyEvent as System.EventHandler
2. Lift the event into a subsection or function of your management class:
RaiseEvent MyEvent(Me, New EventArgs())
3. Manage the event on the page containing your control:
Protected Sub MyControl_MyEvent(ByVal sender As Object, ByVal e As EventArgs) Handles MyControl.MyEvent 'Do stuff here End Sub
tloflin
source share