|
|
Build an Anthem.NET [AJAX] Autosuggest Textbox
|
04/01/2006 By Peter A. Bromberg
|
Remote Scripting (which is now referred to inaccurately as "AJAX" mostly because of a bunch of marketing hype) was invented by Microsoft around 1998, and was first notably used in a commercial application by the MS Exchange team in Outlook Web Access to make the Outlook Web application "look and feel" more like the desktop Outlook. The level of maturity of OWA was incredible, but it was only recently that browsers besides Internet Explorer got religion and implemented the XMLHttpWebRequest feature natively. That's why the big buzz over "AJAX", with many developers not even realizing that it has actually been around since last century!
The new ATLAS framework has an Autosuggest implementation built in, but in this article I will focus on the Anthem.NET implementation, reworking some very nice code that was originally submitted to the Anthem.NET Sourceforge repository as a suggested patch by J.C. Murphy. I've changed around the implementation in order to make it more "self - contained" and moved a lot of brand new data access code and related properties directly into the control. The sample control is presented here in both ASP.NET 1.1 and ASP.NET 2.0 versions, along with the entire source tree so that interested users can look at everything in Anthem.NET.
First, a word about "AJAX" implementations for the .NET platform. The ASP.NET platform revolves around the concept of a stateful Page class that has objects, ViewState and so on that one may want or need to interact with at the server side. The new ATLAS implementation is designed to preserve this model and allow access to it while still offering the flexibility to customize or simplify the model.
Download the combined Visual Studio.NET 2003 and 2005 Solution for this article
Read More...
|
Rate this Ajax Tutorials
Rating: 7.7 out of 14 votes cast
| |
|
|
|
|
|
|
|
|
|
|
|
|