Re: WebControl: Outlook-style predictive text / autocomplete
You're right, this is perrrfect for Ajax. There's a couple of important things to keep in mind when doing something like this though. For instance, you don't want to just query a database every time a field changes, especially if you have a high volume site. If 30 people are using the same page and can type 75 wpm, imagine that many queries a second... not fun.
The book AJAX HACKS from O'Reilly goes through a pretty good workup of Google style predictive text if you're interested.
Ignore the above sentence. This is what I get for reading more than one book at a time... The book I was actually referring to is Ajax in Action by Dave Crane and Eric Pascarello from Manning publishing. Sorry for the confusion. As an added bonus, this book does a terrific job of discussing how to best implement the Model-View-Controller design pattern for AJAX.
Last edited by gitter1226; July 15th, 2006 at 04:05 PM.
Reason: wrong book