This blog post talks about editing a variable length list and may be what you are after.
Up vote 0 down vote favorite share g+ share fb share tw.
I want to create a form for an entity. One of the members is an IEnumerable of a different type (that also has an IEnumerable member), for example: public class Person { public string Fullname { get; set; } public int Age { get; set; } public IEnumerable Jobs { get; set; } } public class Position { public string Title { get; set; } public IEnumerable PhoneNumbers { get; set; } } I'm trying to find a good example of creating multiple fields in the html, how would I allow to enter more than one position? I think I read somewhere about someone who's cloning that part of the form with jQuery - is that the way to go?
Thanks asp. Net-mvc-3 link|improve this question asked Nov 22 '11 at 18:53Madd0g328110 85% accept rate.
That's what I didn't like about the client-side cloning solution. By reading the code in the project - it seems like it wouldn't work with Html. EditorFor - because there's no foreach on items, EditorFor does that – Madd0g Nov 22 '11 at 20:14 I ended up using this method, thanks!
– Madd0g Nov 23 '11 at 22:02.
Possible duplicate of Editing a Variable Length List, ASP. NET MVC 3 Style with Table I personnally use an improved version of BeginCollectionItem, but I find it still too complicated when used with child views. This is a great fail of ASP.
NET MVC promises (it should be simple, fluid and powerful).
My head hurts when I think of doing it with several nested editor templates, the ways I've seen of accomplishing this are far from fluid :\ – Madd0g Nov 22 '11 at 23:52 This is a great fail, I agree for sure. – Softlion Nov 23 '11 at 12:36 M$ think we will use dynamic grids in full javascript ... fully manually. And they persist in this way.
They are mad. – Softlion Nov 23 '11 at 12:38 Ok they wrote a jQuery widget dynamic grid or something like that name. But ... it is not simple as you need to learn it.
And you are limited by its features and ui. – Softlion Nov 23 '11 at 12:39.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.