Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get firing twice
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Get firing twice
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01166560
Message ID:
01166560
Views:
52
Hello All, I have a usercontrol (uc) which consists of a maskedtextbox and a button, the uc has an overridden property called "Text" which has get and set methods, I have several instances of this uc on a form. On exiting the form I retrieve the "Text" values for validation reasons, however, I have noticed , although I only "get" the control's "Text" value once, the method is actually being called twice, I discovered this by placing a MessageBox statement in the "get" method ( for other reasons ), any ideas as to why this is happening ?
Regards,
Peter J. Kane



Pete
Next
Reply
Map
View

Click here to load this message in the networking platform