Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem refreshing after NEW clicked
Message
De
23/10/2003 14:49:22
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00841145
Message ID:
00841741
Vues:
19
Kevin,

The following code is used to register the primary business object. I also added the oClientBusiness object to the BindingSource property and I still do not have the form refreshed with the added row.

'Instantiate and Register the client business object
Me.oClientBusiness = CType(Me.RegisterPrimaryBizObj(New ClientBusiness), ClientBusiness)


Save, Cancel, delete and close buttons work as I would expect.

My question stated another way. Is there behavior in the NEW button or methods it calls, to REFRESH the form with the newly added row? After clicking the NEW button I have checked and there is a blank row added to the dataset table ‘CLIENT’ but the previous row( with data ) is still visible on the form. Is there default behavior in the button to refresh the form's bound controls? Do I have to add code to clear bindings and re-bind to the blank row?

Thanks for the help,


Terry Carroll
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform