I am trying to help another programmer with the Default.aspx page with a section of code, and unfortunately I have lost a bit.
Partial Class _Default
Inherits OverheadClass
'A bunch of global variables here'
Private Sub page_load(ByVal sender As Object, ByVal e As System.Eventarts) Handles Me.Load
'Function goes here'
And in OverheadClass we have
Public Sub Sub_OverheadClass_Load(ByVal sender As Object, ByVal e as System.EventArgs) Handles MyClass.Load
The desired effect is that OverheadClass is inherited, we want to load it before the load event on the page is fired. There is probably a very simple answer to this question that I am missing.
Edit: I forgot to note that we write in VB, not C #, since many of you are used for ASP.
source
share