Is it possible to disable events for a control temporarily?

I have a problem. I have 2 textbox controls each firring an event when the text is changed which changes the text in the other textbox. While I can make it work without getting into an infinite loop it causes a lot of problems. Is it possible to disable events for a control temporarily?
SuppaiAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Jorge PaulinoConnect With a Mentor IT Pro/DeveloperCommented:
Check this example
http://msdn.microsoft.com/en-us/library/3xz97kac.aspx
You can addhandler to control and then remove it when necessary
0
 
Jorge PaulinoIT Pro/DeveloperCommented:
You can use RemoveHandler to remove events.
0
 
SuppaiAuthor Commented:
How exactly do I do that?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.