Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_PreRender event not firing when inheriting mmBaseWebPag
Message
 
À
18/09/2005 23:51:59
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01050773
Message ID:
01053110
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform