Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Modal Form in WPF to Search Data Error
Message
De
12/05/2009 11:36:11
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Using Modal Form in WPF to Search Data Error
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01399408
Message ID:
01399408
Vues:
107
Hi all,

I have a problem when I get an entity from a search window. I have designed a WPF window that holds a row (entity) in order to edit it. To get the correct data to populate the form, I have designed another form, that is called as modal from the first form, that searchs data from a textbox and populates a grid (WPFToolkit). After selecting the the correct row in the grid whe can click OK and then the primary key is passed to the calling form in order to get the desired datarow.

Everything works fine till now but when I try to close the window and no changes have been done, the window ask me to save changes.

Each form has its own private Business Object and seems that they interact in some way!!!

Any Idea??

Thanks in advance,
Antonio Llano
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform