Monday, September 7, 2009

Model binding to object index

Model binding to object index

A view displays a list of customer details and inserts an index into each id.. like this customer[0].name, customer[1].name, customer[0].phone, customer[1].phone and so on. Also each of these can be posted to an action that has a customer parameter. The model binder is nt working correctly, i assume bcoz of the index customer[0].. Can the deafult model binder do this?

View Full Details...............................

No comments:

Post a Comment