annpearson
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.GetUserP rofile();
Session["userPrincipal"] = theUserPrincipal;
}
I have a deadline today and any assistance would be greatly appreciated.
Ann
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.GetUserP
Session["userPrincipal"] = theUserPrincipal;
}
I have a deadline today and any assistance would be greatly appreciated.
Ann
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.