VS.NET Bug - event handlers clobbered repeatedly

S

SteveLB

(This is a repost from 48 hours ago - any reply?)

For some reason (and I wish I could say specifically
when) studio.net is periodically disassociating my event
handlers from the events. In a recent frsutrating
example, my (C#) page_load routine wasn't getting
called. I used the gui in VS.net to associate the
routine with the Load event, but then the code for one of
my buttons wasn't running. When I re-associated the
OnClick routine, vs.net deleted the page_load
connection. The routine itself isn't deleted, but the
line in InitializeComponent:

this.Load += new System.EventHandler(this.Page_Load);

just keeps getting deleted.

Help!

..
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top