Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating dataset before save with CallStateChanged?
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01568085
Message ID:
01568277
Vues:
51
Brian,

>I have a Web page that I am using two way binding on. I need to populate some of the fields outside of the binding. The normal Bussiness Object save behavior fires the CallStateChange passing the presave parameter to push the webforms bound control values to the dataset. I though I could call the CallStateChanged outside of the save to get the dataset , row populated but Its not pulling the values from the webform. Any Ideas on how to get the changestate to populate the dataset , row outside of the save call?

Were you calling the business object's CallStateChange() method, passing the mmBusinessState.PreSaving? That should work. If it you have tried that and it's not working, let me know and I will have one of our developers get in touch with you to take a look.

Best Regards,
Kevin
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform