Why a statement often lost in my user controls?

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.
 
G

guoqi zheng

relax!!

I have some thing missing very often when I am using VS.NET. I guess most of
us have this problem. You did not do anyything wrong, it is just stupid of
VS.NET

regards,

Guoqi Zheng
http://www.ureader.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top