From: MarkusJ_NZ on
On Nov 26, 10:39 pm, Steph <st...(a)pipoland.com> wrote:
> hello, your problem is the chars separator option... look at this.
>
>
>
> MarkusJ_NZ wrote:
> > Hi, I have a text box which I have associated with an
> > AutoCompleteExtender.
>
> > e.g.
>
> >  <cc1:AutoCompleteExtender
> >         runat="server"
> >     ID="autoComplete1"
> >     TargetControlID="TextBox1"
> >     ServiceMethod="GetCompletionList"
> >     MinimumPrefixLength="2"
> >     CompletionInterval="1000"
> >     EnableCaching="true"
> >     CompletionSetCount="20"
> > />
>
> > I then have the following codebehind method which basically just
> > returns a string array containing countries
>
> > [System.Web.Services.WebMethod]
> > [System.Web.Script.Services.ScriptMethod]
> > public static string[] GetCompletionList(string prefixText, int count)
> >   {
> >         return AutocompleteHelperClasses.GetCountryList();
> >     }
>
> > When I go to my page and enter three characters into the text box I
> > get the list of all the countries. No filtering is applied when I add
> > more characters to the text box however. E.g if I enter Belgium I
> > still see all the countries from Australia through to Zaire
>
> > Help appreciated
> > Thanks
> > Markus- Hide quoted text -
>
> - Show quoted text -

Hi, thanks for that but what should I use?
Thanks
From: Vijay on
See this page
http://www.aspdotnetcodes.com/AutoComplete_From_Database.aspx

"MarkusJ_NZ" <markusjnz(a)gmail.com> wrote in message
news:45536076-ec6e-460f-95a4-56a00a47bfbf(a)a37g2000prf.googlegroups.com...
> On Nov 26, 10:39 pm, Steph <st...(a)pipoland.com> wrote:
>> hello, your problem is the chars separator option... look at this.
>>
>>
>>
>> MarkusJ_NZ wrote:
>> > Hi, I have a text box which I have associated with an
>> > AutoCompleteExtender.
>>
>> > e.g.
>>
>> > <cc1:AutoCompleteExtender
>> > runat="server"
>> > ID="autoComplete1"
>> > TargetControlID="TextBox1"
>> > ServiceMethod="GetCompletionList"
>> > MinimumPrefixLength="2"
>> > CompletionInterval="1000"
>> > EnableCaching="true"
>> > CompletionSetCount="20"
>> > />
>>
>> > I then have the following codebehind method which basically just
>> > returns a string array containing countries
>>
>> > [System.Web.Services.WebMethod]
>> > [System.Web.Script.Services.ScriptMethod]
>> > public static string[] GetCompletionList(string prefixText, int count)
>> > {
>> > return AutocompleteHelperClasses.GetCountryList();
>> > }
>>
>> > When I go to my page and enter three characters into the text box I
>> > get the list of all the countries. No filtering is applied when I add
>> > more characters to the text box however. E.g if I enter Belgium I
>> > still see all the countries from Australia through to Zaire
>>
>> > Help appreciated
>> > Thanks
>> > Markus- Hide quoted text -
>>
>> - Show quoted text -
>
> Hi, thanks for that but what should I use?
> Thanks