Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dialog Forms
Message
 
À
09/07/2004 14:42:32
Del Despain
Colorado Plateau Associates
Hurricane, Utah, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
00917063
Message ID:
00922958
Vues:
29
Del,

>Ok, I get a reference to the business object of the parent form and register it as a business object of the dialog form. However, controls on the dialog form show no data until I requery the data via the business object.
>
>What am I missing?

If you've already retrieved data at the point where the second form launches, the UI controls on the second form never get a chance to respond to the event that was originally raised when the business object retrieved data on the main form. All you need to do is call the form's BindAllControls method (this code needs to be run after the call to InitializeComponent).

Regards,
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