Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
StateChange Event and binding updates
Message
De
07/05/2007 17:42:46
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
StateChange Event and binding updates
Divers
Thread ID:
01223227
Message ID:
01223227
Vues:
62
VS2005 & MM2.4

Question:
What is the proper mechanism for a form to be updated when a new entity is added?

Detail:
It appears the state change handler is not automatic in an MM business form. If I update controls in a form and then call: this.oMyBizObj.CallStateChange(mmBusinessState.Bind); what is supposed to happen? The business object raises the event, but apparently we need to register the form as a listener. What I would want to happen here is have all the controls on the form be updated to the current entity object.

Essentially if I have a bunch of controls on a form and I create an entity in the background plus update the values in the entity, (no save to dataset), I would like the form to then reflect the current entity values.

Thanks
Tim
Timothy Bryan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform