Q
Quentin Huo
Hi:
When create a new user control from VS.NET 2003 IDE, there is a private
method created automatically:
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);
}
But I don't know why sometimes the statement
this.Load += new System.EventHandler(this.Page_Load);
disappeared. This situration only happened in my user controls. I want to
know what causeed this problem. It's my problem or VS.NET bug? What can I do
if this problem happens? Should I make 'AutoEventWireup="true"'?
Thanks
Q.
When create a new user control from VS.NET 2003 IDE, there is a private
method created automatically:
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);
}
But I don't know why sometimes the statement
this.Load += new System.EventHandler(this.Page_Load);
disappeared. This situration only happened in my user controls. I want to
know what causeed this problem. It's my problem or VS.NET bug? What can I do
if this problem happens? Should I make 'AutoEventWireup="true"'?
Thanks
Q.