Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Intertrelated controls
Message
De
20/09/2010 16:45:15
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
20/09/2010 16:06:57
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01482058
Message ID:
01482082
Vues:
50
>I just stepped through the code. If I change the Age, the breakpoint stops the code showing me that sender is the date control, not the age control. It then runs through the method and changes the age based on the date, then it runs through it with the age control as the sender.

Well, sounds like your answer is the event is firing when you are not expecting it to fire. Is your value is getting changed as you expect, but then getting changed back?. Might want to look up what triggers the Text Changed to fire. Is there another event you could use to re-compute the value?
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform