Click here to Skip to main content
12,300,379 members (42,621 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET Ajax
Hi all,

I have autocomplete control in my page. I want to provide servicepath from another website with in a same solution. Then, how to provide service path to the autocomplete control.
Posted 5-Dec-12 0:47am
Comments
ryanb31 5-Dec-12 10:03am
   
Please be more clear.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

http://forums.asp.net/t/1666165.aspx/1[^]



<asp:AutoCompleteExtender ID="txtname_AutoCompleteExtender"
                                runat="server"  Enabled="True" ServiceMethod ="GetCompletionList" ServicePath="~/sample.asmx"
                                MinimumPrefixLength="1" CompletionSetCount ="12" EnableCaching ="true"  CompletionInterval ="500"
                              TargetControlID="txtcname" ></asp:AutoCompleteExtender>




Will Help you
  Permalink  
Comments
Narra sreenu 6-Dec-12 5:03am
   
service is not available same website. the asmx file in another website in a same solution
VishwaKL 6-Dec-12 5:09am
   
check namespace of the service class

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160525.2 | Last Updated 6 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100