Taking my inspiration from Jan Tielens' control http://www.codeplex.com/smarttools/Wiki/View.aspx?title=Autocomplete%20Text%20Field, I decided to build my own with the difference that

- The field is a lookup field (derived from SPFieldLookup)
- You don't need to install the ASP.NET AJAX Framework

I did it that way because in some environments, it's often tricky to change the production system by installing the AJAX framework and/or some service packs. This component embedds "manual" AJAX calls towards the SharePoint Web Service so that you don't need to install anything special to make it working.

Here are a few screenshots illustrating how to use the component. You just add the field to a list as you would with a standard SharePoint field


When creating a list item, you use the textbox to start typing your keyword, the AJAX query (performed after each typing) returns maximum 10 relevant items.


Additional Notes:

Note that this field behaves the same way than the standard SharePoint lookup field except that:

- It cannot be multi-valuated
- the target lookup field is frozen and always the Title field

Last edited Jan 6, 2009 at 6:27 PM by StephaneEyskens, version 2


Endwig Apr 28, 2009 at 2:06 PM 
Very useful! Thanks a lot for this tool!

stout27 Feb 20, 2009 at 2:26 PM 
Can this be modified to lookup up the typed value anywhere in the field instead of always starting at the first character?