JGC
JGC

Reputation: 12997

show list in razor MVC3

I have an entity which has a list of some object and I want to let the user to add as much as he want from that object so that I can put them in the list. how can I create that in razor view? should I use Ajax and if yes how?

Upvotes: 0

Views: 1295

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038710

You may take a look at the following blog post. It was written for ASP.NET MVC 2, but it is very good and those notions still apply in ASP.NET MVC 3. Adapting it to Razor would be trivial.

Upvotes: 2

Related Questions