ASP.NET MVC3 Razor - Auto-complete Tutorial?

我怕爱的太早我们不能终老 提交于 2019-12-19 12:51:06

问题


How do you implement auto-complete with ASP.NET, MVC3, and Razor?


回答1:


You could use jQuery UI Autocomplete control along with an mvc action that returns a JsonResult with the right data




回答2:


This isn't using Razor but translating it from webforms to razor is pretty trivial: http://tpeczek.com/2010/05/jquery-autocomplete-in-aspnet-mvc.html



来源:https://stackoverflow.com/questions/5033060/asp-net-mvc3-razor-auto-complete-tutorial

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!