Add controls dynamically on button click in asp.net mvc

Posted by Ashwani K on Stack Overflow See other posts from Stack Overflow or by Ashwani K
Published on 2010-04-12T12:47:24Z Indexed on 2010/04/12 13:03 UTC
Read the original article Hit count: 749

Filed under:

Hello All:

I am creating an asp.net MVC application in which I want to provide a functionality to add a controls dynamically. I have a form in which there are 2 text boxes for First Name and Last name which serve as a single control. Now an user can add any number of this group of controls. I am able to add these controls on the page using java script. But I do not know how to access the values of these control when the user submits.

Please help in this or suggest another approach

Thanks

© Stack Overflow or respective owner

Related posts about asp.net-mvc