View Single Post

Old 11-23-2006, 06:22 AM   #1 (permalink)
megabyte
Junior Member
 
Join Date: Nov 2006
Posts: 25
Rep Power: 0 megabyte is on a distinguished road
Google Suggest like Dictionary

This is an implementation of Google Suggest like dictionary in ASP.NET

The architecture could be explained as outlined below:


Concept
The database
ASP.NET page
XMLHttpRequest object in the HTML page

As you type a word in the textbox, a JavaScript event fires an HTTP GET request to the ASPX page. The response from the ASPX page is simply displayed in a div tag under the textbox. The page is not refreshed/reloaded for every keystroke as everything is done by the JavaScript in the page. The main JavaScript object that allows us to do this is XMLHttpRequest. You could read about it from Apple's developer site here. This is supported by IE 5.0 +, Mozilla 1.0 + and Apple's own Safari 1.2 +. more...
megabyte is offline   Reply With Quote