A set of technologies in .NET for building web applications and web services. Miscellaneous topics that do not fit into specific categories.
Hi @peter liles ,
You could use AddHandler.Just like this:
aspx:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
AddHandler SlideShow1.Click, AddressOf SlideShow1_Click
End Sub
user control:
Public Delegate Sub SlideShowClick(ByVal sender As Object, ByVal e As SlideShowImageEventArgs)
Public Event Click As SlideShowClick
Public Sub imgSlideShow_Click(ByVal sender As Object, ByVal e As ImageClickEventArgs)
RaiseEvent Click(Me, New SlideShowImageEventArgs(CType(sender, ImageButton), e.X, e.Y))
End Sub
Best regards,
Yijing Sun
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.