Versions des environnements
Network:
Windows 2003 Server
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement