A wierd problem is occuring in asp.net. I have few web
pages and at times some of the code just disappears from
InitializeCompo nent() in designer generated code. Lets say
I have these four lines in InitializeCompo nent.
private void InitializeCompo nent()
{
this.btnCountyV Salesman.Click += new System.EventHan dler
(this.btnCounty VSalesman_Click );
this.btnBranchC odeNotinDBAdmin .Click += new
System.EventHan dler(this.btnBr anchCodeNotinDB Admin_Click);
this.btnCountyL oad.Click += new System.EventHan dler
(this.btnCounty Load_Click);
this.btnNoDefau ltZip.Click += new System.EventHan dler
(this.btnNoDefa ultZip_Click);
this.Load += new System.EventHan dler(this.Page_ Load);
}
While running the application I notice that nothing is
happening on a button click. I go back to the code and see
that the corresponding line in InitializeCompo nent() has
vainished. Has anybody had this problem before.
Any help is appreciated.
Thanks!!
pages and at times some of the code just disappears from
InitializeCompo nent() in designer generated code. Lets say
I have these four lines in InitializeCompo nent.
private void InitializeCompo nent()
{
this.btnCountyV Salesman.Click += new System.EventHan dler
(this.btnCounty VSalesman_Click );
this.btnBranchC odeNotinDBAdmin .Click += new
System.EventHan dler(this.btnBr anchCodeNotinDB Admin_Click);
this.btnCountyL oad.Click += new System.EventHan dler
(this.btnCounty Load_Click);
this.btnNoDefau ltZip.Click += new System.EventHan dler
(this.btnNoDefa ultZip_Click);
this.Load += new System.EventHan dler(this.Page_ Load);
}
While running the application I notice that nothing is
happening on a button click. I go back to the code and see
that the corresponding line in InitializeCompo nent() has
vainished. Has anybody had this problem before.
Any help is appreciated.
Thanks!!