Preoblem with Visual Studio Forgeting Button Events

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Im using Visual Studio 2003 on Windows XP and Windows 2003 Serve

The issue im having is, for some reason after the webapp is compile, sometimes the buttons do not fire the onclick event and do not function at all. To fix this i have been just double clicking on the button and the recompliing it, while this fixes the issue, it does nto serfice when it comes to having aroudn 100 buttons ( and button types) in the webapp. Has anyone ahd the issue or simlar. if so is there any known fix or update for this

Regard

Daniel
 
Hi Daniel,

Thought this info would help...

If you look at InitializeComponent method,

this.Button1.Click += new System.EventHandler(this.Button1_Click);

this ties an event handler with a control event. (If not u must set
autoeventwireup to true in ur page attributes)

Does this input help?
--
Cheers!
Rajiv. R
Rajspace.Org


Daniel Brown said:
Im using Visual Studio 2003 on Windows XP and Windows 2003 Server

The issue im having is, for some reason after the webapp is compile,
sometimes the buttons do not fire the onclick event and do not function at
all. To fix this i have been just double clicking on the button and the
recompliing it, while this fixes the issue, it does nto serfice when it
comes to having aroudn 100 buttons ( and button types) in the webapp. Has
anyone ahd the issue or simlar. if so is there any known fix or update for
this.
 
Back
Top