Click here to Skip to main content
11,629,614 members (81,627 online)
Rate this: bad
good
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 at 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 at 6-Dec-12 5:03am
   
service is not available same website. the asmx file in another website in a same solution
VishwaKL at 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


Advertise | Privacy | Mobile
Web01 | 2.8.150723.1 | Last Updated 6 Dec 2012
Copyright © CodeProject, 1999-2015
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