Advanced Model Binding vs 2010

Posted by user281180 on Stack Overflow See other posts from Stack Overflow or by user281180
Published on 2010-06-11T07:29:56Z Indexed on 2010/06/11 7:32 UTC
Read the original article Hit count: 201

Filed under:

Can I have an example of advanced model binding using ajaxpost?

I have two classes Person and Test as follows:

 public class person{
    public ArrayList Name = new ArrayList();
    public Test []test {get;set;}
    }

public class Test
    {
    public int ID{get;set;}
    public int mark{get;set;}
    }

My Controller could be

[HttpPost]
        public EmptyResult CaseTest(Person person)
        {
            return new EmptyResult();
        }

How do I post the values from the view?

© Stack Overflow or respective owner

Related posts about asp.net-mvc