Brief introduction
AutoComplete control is when the user in the text box input the first few letters or characters, the control can be stored in the data from the text or the database to the user to the beginning of all the letters to the users, for users to choose, to provide convenience.
Important attributes
1.TargetControlID: Specifies the control to implement the hint function;
2.servicepath:webservice path, the method of extracting data is written in a webservice;
3.ServeiceMethod: The name of the method used to extract the data written in the WebService;
4.MinimumPrefixLength: To set the user input how many letters to appear prompt effect;
5.CompletionSetCount: Set the number of rows to prompt the data;
6.CompletionInterval: The time interval, in milliseconds, to get the book from the server.
Example
Open vs2005 to create a AjaxControlToolkit Web site.
Add a text file TextFile.txt in the App_Data folder of your Web site and add data to it as follows: