Posts by Henrique Felipe • 26 points
2 posts
-
1
votes2
answers1233
viewsA: Pass Json object array to Controller C# . NET
Friend tries so: You have to call this method: JSON.stringify(model). var servers = []; $("#myForm select:selected").each(function(i){ servers.push(JSON.parse($(this).val())); }); var model = {…
-
0
votes1
answer790
viewsA: Problem with Maxjsonlength when using ajax
Friend tries so: var json = Json(new { seuRetornoAqui }, JsonRequestBehavior.AllowGet); json.MaxJsonLength = Int32.MaxValue; return json;