Re: Passing parameter as List to ActionResult using jquery post
Thank you for your reply. I have cheked format and it seems it is ok. I think there is another problem in my code.
View ArticleRe: Passing parameter as List to ActionResult using jquery post
Hello blast4620, The Json format for a list has to be as below : foos : [ {"prop1":"value1","prop2":"value2" }, {"prop1":"value3", "prop2":"value4" } ]You can see the format send using the F12 toolsYou...
View ArticlePassing parameter as List to ActionResult using jquery post
Hi. [HttpPost] public ActionResult Index(List<NumericControlContent> filterContent) { return null; }public class NumericControlContent { public string Data; }Javascript:$('#btn').click( function...
View ArticleRe: Passing parameter as List to ActionResult using jquery post
Hi blast4620,blast4620 public class NumericControlContent { public string Data; }blast4620 If I pass pamater as List the Data property is being null.For this problem, I suspect that the property don't...
View Article
More Pages to Explore .....