سؤال

After looking at the available options, I'm looking at making a plugin for jQuery (and coincidentally, a library for ASP.NET MVC) that will provide some simple methods for dynamically adding objects to a collection of a ViewModel.

I speak of things like this ( http://www.highoncoding.com/Articles/640_Adding_Multiple_Nested_Data_in_ASP_NET_MVC_Application.aspx )

I was wondering if there is already anything out there like that, though, before I start building one of my own.

هل كانت مفيدة؟

المحلول

Funny Chao nods to Steve Sanderson without mentioning the very interesting Knockoutjs.

It is more a framework, but works perfectly well with jquery and the upcoming jquery templates for that matter.

In particular: for adding objects to a collection you would want to look closely at the observableArrays

Not surprising for a writer of asp.net-mvc books, Steve provides an mvc sample and there is an active forum with many from .net backgrounds, though it is not strictly a .net framework.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top