Link to home
Create AccountLog in
Avatar of annpearson
annpearsonFlag for United States of America

asked on

Page_Load event not firing and I do have autoeventwireup set to true

Hello,
I have a user control with autoeventwireup="true", but for some reason my Page_Load event is not firing.   I am using Visual Studio 2005.  This is what my Page_Load event looks like:  


    protected void Page_Load(object sender, EventArgs e)
    {
         theUserPrincipal = CredentialFactory.GetUserProfile();
        Session["userPrincipal"] = theUserPrincipal;
    }

I have a deadline today and any assistance would be greatly appreciated.

Ann

SOLUTION
Avatar of ororiole
ororiole
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.