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:
01568328
Vues:
51
I found why calling the CallStateChange was not populating the dataset / row with the values from the webform.

In order to call the CallStateChange method I needed to set the business objects current dataset. So I made a call to SetCurrentDataset(myds) myds being a dataset I rehydrated from the snapshot I saved in the session before the edit. That call was causing the binding strategy to change the value of the control. Once I changed the SetCurrentDataset to include a parameter to set events to false everything worked.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform