WCF/WF - Auto Complete Extender - Asked By Justin Deva on 19-Jun-12 08:03 AM

   I have AutoComplete Text Box in Master Page..

   But AutoCompleteExtender didnt firing in Child page which uses this master page...


wat can i do to make fire it...

pls help
TSN ... replied to Justin Deva on 19-Jun-12 09:26 AM

try to add EnablePageMethods="true" in the script Manager also.

hope this helps you...
Jitendra Faye replied to Justin Deva on 19-Jun-12 09:50 AM
Change your Child page like this-

<asp:ScriptManagerProxy ID="ScriptManager2" runat="server" EnablePartialRendering="true">


<asp:ServiceReference Path="~/App_Code/AutoComplete.asmx" />



Vikram Singh Saini replied to Justin Deva on 21-Jun-12 11:59 PM
Tested the same requirement in website. And found it was not working. After small hit and trials found solution. Steps:

1. I believe you have added your code as follow in master page (Code snippet only):

<ajax:ToolkitScriptManager ID="scriptManager" runat="server" EnablePageMethods="true"/>


      Student Name:&nbsp;&nbsp;

      <asp:TextBox ID="txtStudentName" runat="server" CssClass="thirdText" />

      <ajax:AutoCompleteExtender runat="server" ID="autoCompleteExtender" TargetControlID="txtStudentName"

        ServiceMethod="GetStudentNames" ServicePath="GetNames.asmx" MinimumPrefixLength="2" CompletionInterval="1000"

        EnableCaching="true" CompletionSetCount="20" CompletionListCssClass="autocomplete_completionListElement"

        CompletionListItemCssClass="autocomplete_listItem" CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"

        FirstRowSelected="true" DelimiterCharacters=";, :" ShowOnlyCurrentWordInCompletionListItem="true">


      <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">


2. Notice that we have added ServicePath attribute in autocompleteextender (highlighted) to service.
3. Now test your application. It would work fine.