Source Code Create a value with Confidence...

Prgramming Language : AJAX TOOLKIT

AJAX - Auto-Complete

Example


TargetControlID - The TextBox control where the user types content to be automatically completed
ServiceMethod - The web service method to be called. The signature of this method must match the following: Note that you can replace "GetCompletionList" with a name of your choice, but the return type and parameter name and type must exactly match, including case.
ServicePath - The path to the web service that the extender will pull the word\sentence completions from. If this is not provided, the service method should be a page method.
ContextKey - User/page specific context provided to an optional overload of the web method described by ServiceMethod/ServicePath. If the context key is used, it should have the same signature with an additional parameter named contextKey of type string: Note that you can replace "GetCompletionList" with a name of your choice, but the return type and parameter name and type must exactly match, including case.
UseContextKey - Whether or not the ContextKey property should be used. This will be automatically enabled if the ContextKey property is ever set (on either the client or the server). If the context key is used, it should have the same signature with an additional parameter named contextKey of type string (as described above).
MinimumPrefixLength - Minimum number of characters that must be entered before getting suggestions from the web service.
CompletionInterval Time in milliseconds when the timer will kick in to get suggestions using the web service.
EnableCaching - Whether client side caching is enabled.
CompletionSetCount - Number of suggestions to be retrieved from the web service.
CompletionListCssClass - Css Class that will be used to style the completion list flyout.
CompletionListItemCssClass - Css Class that will be used to style an item in the AutoComplete list flyout.
CompletionListHighlightedItemCssClass - Css Class that will be used to style a highlighted item in the AutoComplete list flyout.
DelimiterCharacters - Specifies one or more character(s) used to separate words. The text in the AutoComplete textbox is tokenized using these characters and the webservice completes the last token.
FirstRowSelected - Determines if the first option in the AutoComplete list will be selected by default.
Animations - Generic animations for the AutoComplete extender. See the Using Animations walkthrough and Animation Reference for more details.
OnShow - The OnShow animation will be played each time the AutoComplete completion list is displayed. The completion list will be positioned correctly but hidden. The animation can use to display the completion list along with any other visual effects.
OnHide - The OnHide animation will be played each time the AutoComplete completion list is hidden.



Learn more AJAX - ToolKit Functions


* Introduction
* Accordion
* Drag Panel
* Animation
* Auto Complete
* Calendar

* TextBox Watermark
* Cascading DropDown
* Collapsible Panel
* Confirm Button
* Dynamic Populate
* Filtered TextBox

* Drop Down
* Drop Shadow
* Hover Menu
* List Search
* Masked Edit
* Modal Popup

* Tabs
* NoBot
* Numeric UpDown
* Paging Bulleted List
* Password Strength
* Popup Control

* Rating
* ReorderList
* Resizable Control
* Rounded Corners
* Slider
* Slide Show

* Animation
* Toggle Button
* UpdatePanel-Animation
* Validator Callout
* Always Visible Control
* Mutually Exclusive CheckBox