This project is read-only.

Autocomplete Control is a fully functional .NET control for word suggestions and autocomplete. We had been using Ajax Control Toolkit AutoComplete Extender in our projects before, but we have needed some extra features and functionalities. Then we decided to develope a new control which can meet all our needs.

Autocomplete Control have powerfull features:

Property Multiple
This feature allows user to make multiple selections.

Property Insertable
Allows you to add an item that not exist in your suggestion datasource. So, your site users can built or grow your suggestion item database.

Property Dirty Filter
This feature allows you to filter items that newly added to your database. So, you can prevent your users to add dirty words to your database. Note that, if this feature is enabled, you should produce dirty words source to the control by setting DirtyWords property.

Event Post Back After Item Selected
This feature allows you to show detailed information about selected item in suggestor. The Control makes an ajax call to the server and can get selected value and fill your DataObject (Repeater, Datalist, GridView.. etc) with selected item's details.

Event Post Back After Item Deleted
This feature allows you to show detailed information about items, just like "post back after item selected" feature but for item deletion. This event is fired when item deleted.

Property Show Last Used Words
This feature allows you to show items which is previously suggested by user. If you enable this feature, you should assign LastUsedWordList list and update it regularly.

Property Enable Title Casing
This feature allows you to automatically uppercase first character of newly added values. (Ex: if user writes => 'island, new york' Control converts them as => 'Island, New York' )

Property Get Values as integer, long, string or object list
The Control basicly stores selected items as an object list. Also, you can get selected/newly added values as integer, long or string.

Property Watermark Text
This feature allows you to use your own watermark text. Default value is 'Write something..'

Property Service Path
This feature allows you to set the path of the Web Service which provides the suggestion data.

Property Service Method
This feature allows you to set name of the Web Service Method which provides the suggestion data.

Property Context Key
Allows you to set the ContextKey for Web Service Method. If you don't want to use a contextkey, set it to '0'.

Property Completion Set Count
This feature allows you to set how many items will be shown in suggestion list.

Property Minimum Prefix Length
This feature allows you to set the minimum character count to start calling the suggestion web service.

Property Completion Interval
This feature allows you to set time interval between web service calls as milliseconds.

Property Custom CSS Style Support
WatermarkCssClass, TextBoxCssClass, ListCssClass, ListItemCssClass and HighlightedItemCssClass properties allows you to change design of the control.

Property Total Width
This feature allows you to set the width of the suggestor textbox.

Property Custom Javascript Function on Item Selected
This feature allows you to call a javascript function after an item selected.

Property Custom Javascript Function on Item Deleted
This feature allows you to call a javascript function after an item deleted.

Last edited Mar 6, 2011 at 4:16 PM by hakank, version 3

Comments

srinivaskumar4 Jan 19, 2012 at 11:59 AM 
this is not working
can u send me sample example project
to my mail

Nirva88 Dec 16, 2011 at 7:52 PM 
two questions :
- it doesn't work in a project pointed in framework 3.5? its true?
- can i use it without a web service? i mean, using something like autocompletecontrol.datasource = datasource.
Thanks a lot. !