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 08:18:00
 
 
À
03/04/2013 08:00:17
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:
01569863
Vues:
18
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.

But you're right - good idea to check what's coming over the wire - I'd use Fiddler for that tho.....



>That's exactly what the error says, but I don't think that's what she wants. I've had situations where the data wasn't getting saved into the Json format and sent a null. The correct route was called, but no data got passed in. So, having no data would just do nothing. Isn't she trying to save data here? That's why I suggested using Alert dialog to see what data is being passed around.
>
>
>>If no data was sent then wouldn't the routing fail ?
>>
>>Maybe I should have looked more closely but seemed to me that the problem was exactly what the exception stated : there is no parameterless constructor for the model....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform