Editable List

Jul 27, 2010 at 8:55 AM

Hi,

Not sure if you've come across this one. I'm trying to add/delete rows in a table (where a row consists of a textbox and a dropdownlist). Has anyone tried anything like this?

Thanks

P.s. Congratulations

Coordinator
Jul 27, 2010 at 5:13 PM

You will have to be much more descriptive.

Jul 28, 2010 at 8:06 AM

Sorry. Something a bit like this from a UI point of view

http://blog.stevensanderson.com/2010/07/12/editing-a-variable-length-list-knockout-style/

Coordinator
Jul 28, 2010 at 3:04 PM

Without more detail, I would say that what your trying to do is outside the scope of this project (ASP.NET MVC Dynamic Forms).

Jul 28, 2010 at 3:10 PM

Basically I am trying to add an unlimited list of data (textbox for name and a texbox for the value) but do not know how long the list will be whilst rendering the page otherwise I could just code a collection of textboxes with individual IDs. So I need to be able to add an unlimited number of textbox pairs. A new textbox couple would need to appear when I hit 'add'. Does that help?

Coordinator
Jul 28, 2010 at 3:13 PM

I understand your problem, but there's nothing that DynamicForms can do for you (yet). 

Jul 28, 2010 at 3:16 PM

Yeah that's what I thought. Let me know if you think of anything