C
Claes Rådström
Hi !
We have a base class that derives from System.Web.UI.Page
Alla our pages derives from it.
In our base class we want to have an access check, (own) , to verfy user
access to the derived page.
We want this in the base class so that the programmer cant forget to
implement it.
=> we want a page load in the base class to fire first, if access is granted
then proceed to derived page load
and do other stuff.
This event mix with base classes, derived pages tends to be pretty messy.
Today we are using OnLoad in base class but this feels like a diry solution.
Anyone that can give a reference/ shine some light on o eventhandling in asp
page hierachies
or have a "solution" to the given problem above ??
Thanks
/Claes
We have a base class that derives from System.Web.UI.Page
Alla our pages derives from it.
In our base class we want to have an access check, (own) , to verfy user
access to the derived page.
We want this in the base class so that the programmer cant forget to
implement it.
=> we want a page load in the base class to fire first, if access is granted
then proceed to derived page load
and do other stuff.
This event mix with base classes, derived pages tends to be pretty messy.
Today we are using OnLoad in base class but this feels like a diry solution.
Anyone that can give a reference/ shine some light on o eventhandling in asp
page hierachies
or have a "solution" to the given problem above ??
Thanks
/Claes