Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_PreRender event not firing when inheriting mmBaseWebPag
Message
 
To
18/09/2005 23:51:59
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01050773
Message ID:
01053110
Views:
11
Mike,

>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.

You definitely found something here...the mmBaseWebPage.OnPreRender() method is only calling base.OnPreRender() if a "FocusedControl" is specified for the page. We'll fix this problem, but for now you can specify a FocusedControl for your web pages and the PreRender event should fire.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform