mardi 14 avril 2015

MVC 5 Append Jquery Input form Bind as Object

I have a Form that inside of it has some basic fields from the basic models. In those Fields in the View file. I set up a jquery. Append that would be trigger with an "Add" button


It will generate an Input Field in the View with 2 fields. Details string and Amount to int. and a Delete Button with an ID.


If you click the Add button again. It will add another Field of Details and Amount with delete button. Now All things works. But my problem is Binding them in into the Controller after Clicking the submit Button of the Form.


How will I gather all of the Fields and itterate them in the controller.


Aucun commentaire:

Enregistrer un commentaire