Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Troubles with jquery ui dialog and save method
Message
De
03/04/2013 10:47:24
 
 
À
03/04/2013 08:36:43
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:
01569821
Message ID:
01569898
Vues:
23
Don't think that's correct. The default modelbinder requires it.
AFAIK if you only have a parameterised constructor you would have to replace the ModelBinder.....

Seems like that was Naomi's problem anyway.....

>No. A default constructor is not required.
>
>
>>Doesn't MVC require the model to have a default constructor (which Naomi did not have) ? If she gets past that then checking ModelState should show any problems with the data.
>
>javascript alert is easier to get use and you can see the values before going over the wire. If everything looks good in the javascript, then I'd go to Fiddler.
>
>>
>>But you're right - good idea to check what's coming over the wire - I'd use Fiddler for that tho.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform