I've googled and searched and checked in MSDN, and I'm not sure what I'm missing, probably something stupid.
In my .master page I have this:
<ajax:ScriptManager runat="server" ID="SiteScriptManager" EnablePartialRendering="true" EnablePageMethods="true">
<Services>
<ajax:ServiceReference Path="FeedStats.asmx" />
</Services>
</ajax:ScriptManager>
In my .aspx page:
<asp:TextBox ID="TextBox1" runat="server" Width="50" />
<cc1:AutoCompleteExtender ID="AutoCompleteExtender2" runat="server"
TargetControlID="TextBox1"
ServiceMethod="GetBadgeNumbers"
ServicePath="FeedStats.asmx"
MinimumPrefixLength="1"
EnableCaching="true" >
</cc1:AutoCompleteExtender>
My .asmx:
<WebMethod()> _
Public Function GetBadgeNumbers(ByVal prefixText As String) As ArrayList
Dim theseBadges() As Badge
theseBadges = Badge.FindAll(Order.Asc("Number"))
Return Filter(prefixText, theseBadges) 'cntName
End Function
Nothing ever calls the webservice. The webservice works, I'm able to hit that by going to the address of the service.