Postcode Lookup in ASP.NET
 
 

Postcode Lookup in ASP.NET

by MarkC 23. February 2010 11:35

As well as adding telephone number validation, mobile validation and email validation controls to your ASP.NET toolkit, our Data Capture & Validation pack also includes an address capture control - just drag & drop to implement a full postcode lookup solution on your website. Download our ASP.NET control pack now to get started.

As well as a simple postcode lookup option, the control gives you a full free-text search option for people that do not know the postcode of the address they want to enter, ensuring that you always get complete and accurate data submitted.

For the best results, simply place the control inside an UpdatePanel to allow users to enter address details without requiring a full postback.



That's all you need to do! To get the completed address out of the control in your server-side code, simply use the Address1 - Address6, Town, County and Postcode properties.

Need to ensure that the user has finished entering an address before they submit your form? Simply add a RequiredFieldValidator and set its ControlToValidate property to the AddressCapture control.

There are loads of properties you can change to customize the display of the control, or you can provide entirely custom templates for each stage of the postcode lookup process - just give your account manager a call to speak to one of our technical team for details.

Tags: ,

Technical

Comments are closed

RecentPosts

RecentComments

Comment RSS
Skip Navigation Links
Request handled by server S2 for client 38.107.179.218 at 2/8/2012 2:33:08 AM