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:40:56
 
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:
01569871
Views:
29
This message has been marked as a message which has helped to the initial question of the thread.
AH HA! When you added the constructor, .Net wants to use it everytime. However, when it's created here, there is no constructor that takes no parameters. Create one, and things should start working.

>I think my troubles started when I added this public constructor to the ViewModel. Prior to that at least the Edit method of my controller was being hit. Do you know if I can adjust the ViewModel somehow?
>
>I am not sure what do you mean by alert boxes. I can debug the java script in FireFox (FireBug). I see that oForm has some data (it doesn't look like json to me, though).
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform