ok, I dont know what i have done to cause this - but somehow I managed to 'unlink' my events from my objects.
say I have a button which executes Button_Click event, the code is still there, but I had to go bac to the button in VS.NET and select that method for the event from the designer again.
The only thing I cant relink is hte Page_Load event. It is simply not executing. I have commented out everything in the page load event except one line which is not doing anything.
---
From my Main.aspx:
<%@ Page language="c#" Codebehind="main.aspx.cs" AutoEventWireup="false" Inherits="FH.test2" %>
From Main.aspx.cs:
Private void Page_Load(object sender, System.EventArgs e)
{
lblTest.Text="F00";
/* Commented Code */
}
---
test2 was the original name of the class, and i renamed the file to Main a long time ago before anyone asks about that. It has always worked up until now.
I cant really test anything without the page_load as it calls all my databinding methods and selects which panels to display.
say I have a button which executes Button_Click event, the code is still there, but I had to go bac to the button in VS.NET and select that method for the event from the designer again.
The only thing I cant relink is hte Page_Load event. It is simply not executing. I have commented out everything in the page load event except one line which is not doing anything.
---
From my Main.aspx:
<%@ Page language="c#" Codebehind="main.aspx.cs" AutoEventWireup="false" Inherits="FH.test2" %>
From Main.aspx.cs:
Private void Page_Load(object sender, System.EventArgs e)
{
lblTest.Text="F00";
/* Commented Code */
}
---
test2 was the original name of the class, and i renamed the file to Main a long time ago before anyone asks about that. It has always worked up until now.
I cant really test anything without the page_load as it calls all my databinding methods and selects which panels to display.