Ask a Question related to ASP.NET General, Design and Development.
-
pepsi #1
Problem in Designer generated code
A wierd problem is occuring in asp.net. I have few web
pages and at times some of the code just disappears from
InitializeComponent() in designer generated code. Lets say
I have these four lines in InitializeComponent.
private void InitializeComponent()
{
this.btnCountyVSalesman.Click += new System.EventHandler
(this.btnCountyVSalesman_Click);
this.btnBranchCodeNotinDBAdmin.Click += new
System.EventHandler(this.btnBranchCodeNotinDBAdmin _Click);
this.btnCountyLoad.Click += new System.EventHandler
(this.btnCountyLoad_Click);
this.btnNoDefaultZip.Click += new System.EventHandler
(this.btnNoDefaultZip_Click);
this.Load += new System.EventHandler(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 InitializeComponent() has
vainished. Has anybody had this problem before.
Any help is appreciated.
Thanks!!
pepsi Guest
-
capture code generated from template
is there any way to capture the output generated by a template into a variable? -
Composite control and designer-generated code for nested events
My composite control has a private System.Web.UI.Button member, which is exposed by a read-only public property "Button". In design-time, when I'm... -
.NET should move documentation from the WSDL to the generated code
When I have a WSDL that is documented like: <?xml version="1.0" encoding="UTF-8"?> <!-- edited by Sebastien Tardif (Anacomp) --> <wsdl:definitions... -
Custom tool warning: DiscoCodeGenerator unable to initialize code generator. No code generated.
I created a brand new WebService (HelloWorld) and when I attempt to add this WebService to a WindowsForm project I get the following error message in... -
__doPostBack code block not being generated by asp.net page
I have 2 aspx pages... neither of which do anything out of the ordinary. One of the pages automatically generates this block of code when viewed...



Reply With Quote

