title: AutoCompleteExtender help needed
body: <p>I am sure this is a simple solution, but I am at my end..</p>
  
  <p>I have the following ASPX</p>
  
  <pre><code>      &lt;asp:TextBox ID="textVendorNameLookup" AutoPostBack="true" runat="server" Width="200px" 
                      onFocus="this.select()" 
                      Text=''&gt;&lt;/asp:TextBox&gt;
                  &lt;ajaxToolkit:AutoCompleteExtender ID="VendorNameAutoCompleteExtender" TargetControlID="textVendorNameLookup"
                      FirstRowSelected="false" runat="server" ServiceMethod="GetVendor" CompletionInterval="1" 
                      EnableCaching="true" MinimumPrefixLength="1" UseContextKey="true" ServicePath="VendorLookupWebService.asmx"&gt;
  
                  &lt;/ajaxToolkit:AutoCompleteExtender&gt;
  </code></pre>
  
  <p>And the following ASMX</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Web;
  using System.Web.Services;
  using System.Data;
  using System.Data.SqlClient;
  using System.Configuration;
  using System.Xml;
  
  
  /// &lt;summary&gt;
  /// Summary description for VendorLookupWebService
  /// &lt;/summary&gt;
  [WebService(Namespace = "http://rouses.com/")]
  [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
  // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
  [System.Web.Script.Services.ScriptService]
  public class VendorLookupWebService : System.Web.Services.WebService
  {
  
      public VendorLookupWebService()
      {
  
          //Uncomment the following line if using designed components 
          //InitializeComponent(); 
      }
  
      [WebMethod]
      //public string[] GetOrganization(string prefixText)
      public static List&lt;String&gt; GetVendor(string prefixText)
      {
  
          var cmdText = "Select vmvnnm from dbmoto..apvendp where vmvnnm like @prefixText and vmasts = 'A'";
  
          using (var conn = new SqlConnection(ConfigurationManager.ConnectionStrings["MAINConnectionString"].ToString()))
          using (var cmd = new SqlCommand(cmdText, conn))
          {
              cmd.Parameters.Add(new SqlParameter("@prefixText", string.Format("%{0}%", prefixText)));
              conn.Open();
              SqlDataReader dr = cmd.ExecuteReader();
  
              var Vendors = new List&lt;string&gt;();
  
              if (dr.HasRows)
              {
                  while (dr.Read())
                  {
                      Vendors.Add(dr["vmvnnm"].ToString());
                  }
              }
              conn.Close();
              return Vendors;
          }
  
      }
  }
  </code></pre>
  
  <p>But the webservice is not firing when I type into the textbox....</p>
  
  <p>Any ideas?</p>