A
Arne Garvander
What is the proper way to subclass web.ui.page?
Public Class MyPage
Inherits System.Web.UI.Page
Protected Sub Page_Init(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Init
'MyBase.OnInit(e)
ViewStateUserKey = Session.SessionID
End Sub
End Class
When I called OnInit in my base class I got an infinite loop.
Public Class MyPage
Inherits System.Web.UI.Page
Protected Sub Page_Init(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Init
'MyBase.OnInit(e)
ViewStateUserKey = Session.SessionID
End Sub
End Class
When I called OnInit in my base class I got an infinite loop.