Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Popup Form
Message
De
27/08/2004 17:14:25
Max Fillmore
Essential Skills, Inc.
Lenexa, Kansas, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Popup Form
Divers
Thread ID:
00937192
Message ID:
00937192
Vues:
46
Can one of you experienced MM.NET folks help me out here?

I have a form (a mmBusinessForm subclass) instance with an mmDataGrid bound to a child business object. I want to be able to edit the data in the rows of this grid using a popup form. Next to the grid I have 3 buttons: a "New" button, an "Edit" button, and a "Delete" button. On the Click event method of the Edit button I create a new "Popup" form instance (also a subclass of mmBusinessForm) passing the business object to which the child grid is bound in the constructor. Editing controls on the popup form are also bound to this business object. I have at least 2 problems:

1) When the controls instantiate they display data from the first row in the dataset no matter which is the current row in the grid. How does one synchronize these?

2) When I edit the data in the controls it does not seem to update the business object. The edits are not reflected in the child grid. This is true even if I pass the business object to the popup form constructor by reference.

Can someone please give me a pointer here?

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform