Any ideas why my autocomplete is not working? For example, this code works by dropping the controls on the page in design view:
<asp:TextBox ID="txtAutoComplete" runat="server" BackColor="#FFFF80"></asp:TextBox>
<ajaxtoolkit:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" TargetControlID="txtAutoComplete"
ServiceMethod="GetNames" MinimumPrefixLength="1" ServicePath="AutoCompleteTextBox.asmx">
</ajaxtoolkit:AutoCompleteExtender>
This code creates the controls with C#, but the autocomplete isn't working:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AjaxControlToolkit;
public partial class DynamicTable2 : System.Web.UI.Page
{ ...
Go to the complete details ...