June 29, 2021
Here is the article to download sample code.
AutoComplete is an ASP.NET AJAX extender that can be attached to any TextBox control and will associate that control with a Popup panel to display a result returned from web services or retrieved from a database on the basis of text in a TextBox.
The Dropdown with name retrieved from the database or web service is positioned on the bottom-left of the TextBox.
Some Important properties of AutoCompleteExtender:
- TargetControlID: The TextBox control Id where the user types text to be automatically completed.
- EnableCaching: Whether client-side caching is enabled.
- CompletionSetCount: Number of suggestions to be retrieved from the web service.
- MinimumPrefixLength: Minimum number of characters that must be entered before getting suggestions from a web service.
- CompletionInerval: Time in milliseconds when the timer will kick in to get a suggestion using the web service.
- ServiceMethod: The web service method to be called.
- FirstRowSelected: Whether the first row is selected from the suggestion.
No comments:
Post a Comment