Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Comments
ZurdoDev 5-Dec-12 10:03am    
Please be more clear.

1 solution

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



XML
<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
 
Share this answer
 
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900