jQuery UI has an AutoComplete widget . The autocomplete widget is quite nice and straight forward to use. In this post, how to integrate the AutoComplete widget with an ASP.NET MVC application. The first step is to add the jQuery scripts and styles. With ASP.NET MVC 4, the following code does the work: @Styles.Render( "~/Content/themes/base/css" ) @Scripts.Render( "~/bundles/jquery" ) @Scripts.Render( "~/bundles/jqueryui" ) Using the AutoComplete widget is also simple. You will have to add a textbox and attach the AutoComplete widget to the textbox. The only parameter that is required for the widget to function is source . For this example, we will get the data for the AutoComplete functionality from a MVC action method. $(document).ready( function () { $( '#tags' ).autocomplete( { source: '@Url.Action("TagSearch", "Home")' }); }) In the above code, the textbox with id=tags i...
MVC
.net mvc tutorial WPF, Tutorial, Windows Presentation Foundation, XAML, Expression Blend, .NET 3.0, Learn, How to, API