What is the best way to provide “search as you type”?

I'm porting a Forms app to a VB.NET web app, and one of the feature the users really liked was the ability to narrow the possible choices as the user typed in a search box. The search itself goes against multiple tables and columns (and takes several seconds), so it's not a simple AutoComplete or anything. What's the best way to allow the user to type, and asynchronously update a ListView with the matches?

Answers


JQuery will be a good solution to filter the ListView at client side. Check this recent article and another cool demo here


You should be able to use the Dynamic Populate control in the AJAX Control Toolkit to do most of the legwork.


Need Your Help

Is there a way to prevent null values from being persisted while allowing others through?

java jpa annotations

I have an existing JPA (EclipseLink) project where the desired behaviour is that if given a null value in a field for an entity, that null value should not be persisted.

Disable image loading from webbrowser control before the documentcompleted event

c# .net webbrowser-control

I want to prevent images in a page from being loaded in the WebBrowser control. I want it to happen before the DocumentCompleted event occurs. Is there a way to do this?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.