Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EF attributes that can only be changed from code
Message
 
 
À
04/04/2013 11:04:27
Information générale
Forum:
ASP.NET
Catégorie:
MVC
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01569983
Message ID:
01570075
Vues:
26
>That could be the problem. If they aren't in the view, the old values won't be saved. You can put them in @Html.Hidden fields in the view (make sure they're part of the form... ie, between the form tags).
>
>

Yes, that is what I was thinking of doing - or even display them as readonly. But too bad they have to be part of the view.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform