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