Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I access the entity object from a textbox event?
Message
De
27/06/2008 19:51:11
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
27/06/2008 19:28:37
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01327405
Message ID:
01327411
Vues:
12
Hi Sam,

>I have an event handler on a form that handles the validating event for a textbox on that form. From within that event handler method I need to access the entity object property that the textbox is bound to. Can somebody please help me with some code that would allow me to do that.
>
>Thanks in advance.
>
Do you have multiple business objects registered with this form? If you know what the business object is you can use this.oMyBizObj.Entity but I suspect your question is more complicated than this. Are you trying to access the entity object by interrogating the textbox somehow to find the business object associated with it?

Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform