However I need to send the list to the controller using ajax, then send the list of models back to to the view, and be able to set the same indexs, in my view, I have the list of models in my controller no problems, but how do I access and set the index
in my view.
EnenDaveyBoy
Participant
1465 Points
1146 Posts
Model Binding to non sequencial list issue
Apr 30, 2012 06:25 PM|LINK
Hi
I have a list which uses a non squencial list as in the link below:
http://haacked.com/archive/2008/10/23/model-binding-to-a-list.aspx
However I need to send the list to the controller using ajax, then send the list of models back to to the view, and be able to set the same indexs, in my view, I have the list of models in my controller no problems, but how do I access and set the index in my view.
Any suggestions would be appriciated.