This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
Converting VB.Net Event Handlers to C# #467
Open
Description
When converting a project from VB to C#, the aspx.vb pages lost the event handling. In my case, I had functions/subs defined like:
Private Sub MyButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles MyButton.Click
The C# code didn't have any handling or any indication of event handling missing. Most cases, I just added the corresponding C# handler in the Page_Load method, like:
MyButton.Click += MyButton_Click;