T
Tim
have a 1.1 framework site that is being converted to 2.0.
I have a custom class MyPage that I'm trying to have all of my .Net
pages inherit.
My site uses both classic and .Net sessions so I am using the
MSDN.SessionPage to handle the sessions.
My custom page class looks like this:
Public Class MyPage
Inherits MSDN.SessionPage
End Class
And my pages inherit MyPage.
Partial Class TestSession
Inherits MyPage
...
End Class
When I go to build my website, I get an InitializeCulture is not a
member of xxxx.aspx
This worked absolutely fine in the 1.1 framework.
However, if I don't inherit MyPage and just directly inherit
MSDN.SessionPage, everything works fine. The thing is, I have a bunch
of other items in MyPage that I would like to add such as error
handling. If I have MyPage inherit System.Web.UI.Page, it builds fine
but I can't access my sessions.
Does anyone know why it would work in 1.1 but not 2.0 or why in 2.0
if
I directly inherit the MSDN.SessionPage it works but if I put a
custom
page class in, it does not?
Thanks,
Tim
I have a custom class MyPage that I'm trying to have all of my .Net
pages inherit.
My site uses both classic and .Net sessions so I am using the
MSDN.SessionPage to handle the sessions.
My custom page class looks like this:
Public Class MyPage
Inherits MSDN.SessionPage
End Class
And my pages inherit MyPage.
Partial Class TestSession
Inherits MyPage
...
End Class
When I go to build my website, I get an InitializeCulture is not a
member of xxxx.aspx
This worked absolutely fine in the 1.1 framework.
However, if I don't inherit MyPage and just directly inherit
MSDN.SessionPage, everything works fine. The thing is, I have a bunch
of other items in MyPage that I would like to add such as error
handling. If I have MyPage inherit System.Web.UI.Page, it builds fine
but I can't access my sessions.
Does anyone know why it would work in 1.1 but not 2.0 or why in 2.0
if
I directly inherit the MSDN.SessionPage it works but if I put a
custom
page class in, it does not?
Thanks,
Tim