I have recently stumbled upon an article about address resolving with Pro6PP from a Dutch ecommerce magazine:
The Pro6PP project had my attention due to the low license fees.
So I signed up at Pro6PP for a free 2 months test account.
after that I created an http handler(autocompleteaddress.ashx.cs) which I can use with jQuery.
My demo.aspx file looked like this:[more]
I left out the validators for readability concerns. All there was left for me to do is add jQuery which is best to be used trough a CDN (Content Delivery Network) from Google
(you should read this post on stackoverflow if you don’t know why you should use the Google CDN)
so add a reference to the jQuery lib on Google’s CDN:
Here is the jQuery that makes sure that the autocompleteaddress.ashx file fires:
p.s. You can get a simple custom Ajax loading animated gif from http://ajaxload.info/
Edit 7 september 2010:
I have made a change to the ashx's last part:
xdoc.AddFirst(new XElement("adresses", address)); context.Response.Clear(); context.Response.ContentType = "text/xml"; context.Response.Charset = "UTF-8"; context.Response.Cache.SetCacheability(HttpCacheability.NoCache); context.Response.Cache.SetAllowResponseInBrowserHistory(true); context.Response.Write("<?xml version=\"1.0\" encoding=\"utf-8\" ?>"); context.Response.Write(System.Environment.NewLine); context.Response.Write(xdoc.ToString()); context.Response.Write(System.Environment.NewLine); //context.Response.Flush(); //context.Response.Close(); context.Response.End();