Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EF attributes that can only be changed from code
Message
De
04/04/2013 11:49:57
 
 
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:
01570083
Vues:
43
This message has been marked as the solution to the initial question of the thread.
Remember...the view has NO concept of anything other than the data given to it. If you send over data, but don't store it anywhere, its value gets lost. The page has no place to keep it, so it throws it away. Then the values inside the form tags get sent back on submit. It's the way the web works.

>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.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform