Page_Load Not Firing

Discussion in 'ASP.NET / ASP.NET Core' started by preethi_r, Sep 21, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I've created my ASPX pages with C# code behind in VS.NET 2003. Page_Load event is not firing properly in the development machine. The same code works fine in another machine. The following code is available in "InitializeComponent".

    this.Load += new System.EventHandler(this.Page_Load);

    private void Page_Load(object sender, System.EventArgs e)
    {
    if(!IsPostBack)
    {
    // I have my code here
    }
    }

    When i open the same project in some other machine, the page_load event fires properly.

    Please give me any idea which helps me.

    Thanks,
    Preethi.
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Are you sure you have the latest dll file in the bin folder?

    quote:Originally posted by preethi_r

    I've created my ASPX pages with C# code behind in VS.NET 2003. Page_Load event is not firing properly in the development machine. The same code works fine in another machine. The following code is available in "InitializeComponent".

    this.Load += new System.EventHandler(this.Page_Load);

    private void Page_Load(object sender, System.EventArgs e)
    {
    if(!IsPostBack)
    {
    // I have my code here
    }
    }

    When i open the same project in some other machine, the page_load event fires properly.

    Please give me any idea which helps me.

    Thanks,
    Preethi.
    </blockquote id="quote"></font id="quote">

    B.

    DiscountASP.NET
    http://www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page