Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CollectionItemChanged not Firing
Message
De
26/03/2013 09:07:55
 
 
À
26/03/2013 08:55:32
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Divers
Thread ID:
01568945
Message ID:
01569242
Vues:
18
>>When I use the Alt+N, then try to save, the values in the grid are not recognised as being stored in the entity list. So there is something strange going on here as the values are fine if I tab out of the amount column.
>
>What happens if you change the UpdateSourceTrigger as I suggested:
<DataGridTextColumn Header="Amount" Width="*" Binding="{Binding cwd_amount, Mode=default, UpdateSourceTrigger=PropertyChanged}"
>                                                    CellStyle="{StaticResource AlignRight}"
>                                                    HeaderStyle="{StaticResource AlignRightHeader}"/>
Thanks, that has helped, sorry I missed it in your first message, I had meant to ask you to clarify.

The total is now updating properly, however the Charge Type is not being set properly. I've got some more digging to do here. :(

Later:
Setting the same updatesourcetrigger on the combobox column seems to work too!
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform