I've noticed that sometimes when I work on a page, my button events (any object event is susceptible) stop firing. I discovered that if I delete the event and double click on the object again, it will work again. Does anyone know why this happens and if there
is some way to prevent this? Is it a bug in .NET or is it me?
Sara Petty
Don't sweat the Petty things and don't pet the sweaty things!
Hi Sara, I sure haven't seen this behavior. Is there any chance that the event handler is getting disconnected from the object? What language is the code in? Don
Don Kiely, MCP, MCSD
In the Last Frontier, Interior Alaska
Please post questions and replies to the forum! And remember to MARK AS ANSWER when someone definitively answers a question or resolves a problem!
I am using VB.Net. I must be doing something to "disconnect" the object, but the really strange thing is that when I recreate the object event by double clicking on it, and then I compare it to the original, they are exactly the same code. The only way I can
think to compare it is when I am editing video. If you put special effects on a clip in the wrong order, some of the effects won't render. It's like it is doing the same thing here. My theory is a far cry, I know, but I have no other theories right now.
Sara Petty
Don't sweat the Petty things and don't pet the sweaty things!
Hi Sara, Did you get this solved? If not, post the code you're using and we'll try to help. Don
Don Kiely, MCP, MCSD
In the Last Frontier, Interior Alaska
Please post questions and replies to the forum! And remember to MARK AS ANSWER when someone definitively answers a question or resolves a problem!
The problem with posting code is that I am not experiencing this phenomenon at the moment. I'll post it right as soon as it happens again. Thanks for all your help.
Sara Petty
Don't sweat the Petty things and don't pet the sweaty things!
spetty
Member
15 Points
3 Posts
Why do my object events stop firing?
Aug 07, 2003 04:43 PM|LINK
Don't sweat the Petty things and don't pet the sweaty things!
donkiely
All-Star
15929 Points
2518 Posts
ASPInsiders
Moderator
MVP
Re: Why do my object events stop firing?
Aug 19, 2003 01:27 AM|LINK
In the Last Frontier, Interior Alaska
Please post questions and replies to the forum! And remember to MARK AS ANSWER when someone definitively answers a question or resolves a problem!
spetty
Member
15 Points
3 Posts
Re: Why do my object events stop firing?
Aug 19, 2003 05:37 AM|LINK
Don't sweat the Petty things and don't pet the sweaty things!
donkiely
All-Star
15929 Points
2518 Posts
ASPInsiders
Moderator
MVP
Re: Why do my object events stop firing?
Aug 22, 2003 06:09 AM|LINK
In the Last Frontier, Interior Alaska
Please post questions and replies to the forum! And remember to MARK AS ANSWER when someone definitively answers a question or resolves a problem!
spetty
Member
15 Points
3 Posts
Re: Why do my object events stop firing?
Aug 22, 2003 03:26 PM|LINK
Don't sweat the Petty things and don't pet the sweaty things!