Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Troubles with jquery ui dialog and save method
Message
From
03/04/2013 08:18:00
 
 
To
03/04/2013 08:00:17
General information
Forum:
ASP.NET
Category:
MVC
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01569821
Message ID:
01569863
Views:
19
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....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform