AutocompletExtender does not fire
<p>I am using Ajaxtoolkit AutoCompleteExtender Control.
My Web Service(.asmx file) is working well but when I am putting letter in TextBox control
it is unable to retrieve data from web service.</p>

<p>My aspx file is </p>

<pre><code>&lt;AjaxToolkit:AutoCompleteExtender ID="autocompletedl" BehaviorID="autocomplete"
                                            runat="server" ServiceMethod="GetStoreGroupCompletionList" ServicePath="dealercode.asmx"
                                            MinimumPrefixLength="2"
                                            CompletionInterval="300"
                                            CompletionSetCount="10"
                                            EnableCaching ="true"
                                            TargetControlID="txtdcode" CompletionListElementID="completediv"&gt;
</code></pre>

<p></p>

<p><strong>And My asmx.cs(within App_Code) file is</strong></p>

<pre><code>public string[] GetStoreGroup(string prefixText, int count)
{
    List&lt;string&gt; results = new List&lt;string&gt;();


    if (dt == null)
    {
        string query = "select Dcode from ftl_tbl_dealer_mast where Dcode like '" + prefixText + "%'";
        dt = dttras.fetchTabledl(query);

    }

    DataRow[] rows = dt.Select("Dcode LIKE '" + prefixText + "%'");

    for (int i = 0; i &lt; rows.Length &amp;&amp; i &lt; count; i++)
    {
        results.Add(rows[i]["Dcode"].ToString());
    }

    return results.ToArray();
}
</code></pre>
