Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting error when saving
Message
 
À
29/06/2007 07:38:27
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01236743
Message ID:
01237060
Vues:
23
Tony,

>When I open my form and put the mouse cursor into a field and change it, then put the cursor into another field and change it, then click on Save, I get this error:
>
>"Collection was modified; enumeration operation may not execute."
>
>If I Tab out of the fields with the Tab key I don't get this error.
>
>I have run into this before and I've had to write code to set focus on a control then set focus on another control to get the data saved. I have lots of text entry fields on lots of forms and I really don't want to write code to fix this when my users are going to do this same kind of action.
>
>Has anyone come up with a way to fix this?

Can you post the full stack trace associated with this exception?

Best 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