Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
StateChange Event and binding updates
Message
From
07/05/2007 17:42:46
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
StateChange Event and binding updates
Miscellaneous
Thread ID:
01223227
Message ID:
01223227
Views:
59
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
Next
Reply
Map
View

Click here to load this message in the networking platform