Posted on: 12/22/2014 4:30:18 AM | Views : 834

Hello,
I am having an issue where the Master Page event Page_init is not firing before the content page's load event.
masterpage.aspx.cs private void PortalMaster_Init(object sender, EventArgs e) { if (Session["AccountID"] == null) { //no session, return to login Response.Redirect("default.aspx",true); } } content_page.aspx.cs protected void Page_Load(object sender, EventArgs e) { if(!IsPostBack) { response.write("test.."); } No matter what I have tried (Page_Init, Page_PreRender, etc.) the content page load event fires first.
Any suggestions?

Thanks!

Go to the complete details ...