Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_PreRender event not firing when inheriting mmBaseWebPage
Message
From
18/09/2005 23:51:59
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
_PreRender event not firing when inheriting mmBaseWebPage
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01050773
Message ID:
01050773
Views:
53
I was troubleshooting some problems in a web page, where I was storing state info into session variables within the page’s PreRender event when I realized that the PreRender event wasn’t firing in the page’s lifecycle.

To make sure it wasn’t due to something in my dev environment or project, I created a new MM.NET ASP.NET Web Application with a completely new dll name, namespace, etc. ran iisreset, manually deleted, Temporary ASP.NET Files, and proceeded to test.

I created 3 web pages:
WebForm1 : OakLeaf.MM.Main.Web.UI.mmBusinessWebPage
WebForm2 : OakLeaf.MM.Main.Web.UI.mmBaseWebPage
WebForm3 : System.Web.UI.Page

With each page enlisting the following page events
Init
Load
PreRender
Unload

Each of the WebForms fired the Init, Load, and Unload events, but only WebForm3 fired the PreRender event. Anyone else experience this?

I’m referencing the following MM.NET 1.4.1 libraries from the GAC:
Mere Mortals Framework version 1.1.1119.20257
Mere Mortals Framework Interfaces version 1.1.1118.20862
Mere Mortals Framework Web Forms version 1.1.1158.18447

Copy local is set to false.


I also pushed the small test site out to my test server which is running W2k3 which produced identical behavior.

Any help or feedback would be appreciated.

Thanks,
Mike Shaw
MAS
Next
Reply
Map
View

Click here to load this message in the networking platform