Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • this works! I did not know that I need a model for it. Thanks Commented Aug 7, 2013 at 20:47
  • Well, need and need, you will get the opportunity to put words on the items, they are after all operations :) Commented Aug 7, 2013 at 20:48
  • 1
    In the json version, you keep the call to JSON.Stringify, and dataType: "json" and have an action that takes a string as parameter, public void HandleOperations(string operations), then you call var operationArr = JavaScriptSerializer.Deserialize<Operation>(operations);, you need to add a reference to System.Web.Extensions to your project Commented Aug 7, 2013 at 20:54
  • 3
    you actually dont need a model, using traditional:true will do it in ajax post. Commented Sep 25, 2013 at 7:26