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 10:47:24
 
 
To
03/04/2013 08:36:43
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:
01569898
Views:
24
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.....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform