ASP.NET MVC3 Razor - Auto-complete Tutorial?
How do you implement auto-comple开发者_如何学Gote with ASP.NET, MVC3, and Razor?
You could use jQuery UI Autocomplete control along with an mvc action that returns a JsonResult with the right data
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
精彩评论