Hi,
I am converting some VB code to C# for use in a website and I have a problem.
All of the pages have a base class, that includes a Page Load event.:
Private Sub BasePage_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Some Code.
End Sub
Every website page derives from this page. The base page Load code fires first, then the derived page Load code.
I need to use the same approach in C#, but the Handles MyBase.Load is not supported in C#.
Can anyomne provide the C# equivelant?
Many thanks,
Karl
http://www.w3schools.com/aspnet/aspnet_events.asp