VB.NET•Explore the Coded Behind Web Page

Listing 4. At the end of the Page_Load, let the parent class (MyBase) load this Panel control.

Public Class MyPage : Inherits PageBase
   Protected ContentScreen As _

Private Sub Page_Load(ByVal sender As _
   System.Object, ByVal e As System.EventArgs) _
   Handles MyBase.Load
   'code for this page.....

   MyBase.Title = "My web page title"
   End Sub
End Class