淘汰赛和MVC 2.0 [英] Knockout and MVC 2.0

查看:89
本文介绍了淘汰赛和MVC 2.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道利用基因敲除js和MVC 2的示例应用程序的?我想学习淘汰赛时遇到了问题把握如何通过Ajax调用一个动作坚持模型数据。

Does anyone know of an example application using knockout js and MVC 2? I'm trying to learn knockout and am having trouble grasping how to persist model data via an ajax call to an action.

推荐答案

有一个伟大的职位<一个href=\"http://blog.stevensanderson.com/2010/07/12/editing-a-variable-length-list-knockout-style/\">here淘汰赛的关于如何使用MVC使用它的作者。在MVC 2,你可以使用内置的模型绑定,而不是 [FromJson] 属性之类的文章建议。

There's a great post here by the author of Knockout on how to use it with MVC. In MVC 2 you can use the built in model binder instead of a [FromJson] attribute like the article suggests.

在寻找淘汰赛祝贺。我的团队非常喜欢使用它。我们的一位球员取代了把发展周淘汰赛形式(W /甚至更多的功能!)在不到一天的时间一个动态的Silverlight网格控件。它是与名单上的客户端处理一个伟大的框架。

Congrats on finding Knockout. My team has absolutely loved working with it. One of our guys replaced a dynamic silverlight grid control that took weeks of development with a knockout form (w/ even more functionality!) in less than a day. It's a great framework for dealing with lists on the client side.

这篇关于淘汰赛和MVC 2.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆