Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Authentication
Message
 
À
13/01/2004 16:25:49
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00863824
Message ID:
00866962
Vues:
25
Steve,

>The way that I have this set up is I have a form called aBusinessWebPage that inherits from OakLeaf.MM.Main.Web.UI.mmBusinessWebPage. That page has a Page_Load event handler with no code, which is registered in the InitializeComponent method, and it has the OnInit code to call InitializeComponent and then call the base.OnInit. This page also has an override of the RedirectToLogin method.
>
>I then created a web page that inherits from my new aBusinessWebPage that has code in the Page_Load to create the bizobj reference, register it, and get the data. It also has the above mentioned OnInit code and the event handler registration code in the InitializeComponent method.

Have you tried setting a breakpoint on the event registration code to see if it fires? Also, make sure your breakpoint icons don't have a question mark inside of them at runtime --> (?). If they do, it means .NET can't find the associated debug information and the breakpoint will never be hit.

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