locked
autocompleteextender is not working RRS feed

  • Question

  • User775744294 posted

    autocompleteextender is not loading sometimes. There is a weird behaviour. Kindly help me out in fixing the issue. My code like like below

    <cc1:AutoCompleteExtender ID="aceValor" runat="server"
    TargetControlID="tbxId"
    ServicePath="~/WebServices/ValService.asmx"
    ServiceMethod="GetSecurityList"
    MinimumPrefixLength="3"
    CompletionSetCount="20"
    CompletionInterval="2"
    EnableCaching="true"
    CompletionListCssClass="autocomplete_completionListElementVal"
    >

    Friday, August 8, 2014 8:15 AM

Answers

  • User1918509225 posted

    Hi Raja17,

    Thanks for your post here.

    Your code seems very well.

    I suggest that you can add a breakpoint on your web service method ,when you type value in the textbox ,see the method can be hit.

    And here is working demo which you can download:

    http://www.aspsnippets.com/Articles/AJAX-AutoCompleteExtender-Example-in-ASPNet.aspx

    Best Regards,

    Kevin Shen.

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 13, 2014 1:57 AM

All replies

  • User-1360095595 posted

    The code you posted looks OK to me. 

    Friday, August 8, 2014 8:25 AM
  • User555306248 posted

    One thing you may try is to use something like Fiddler, or press F12 in chrome -> network panel, to watch the requests and response, see what http code it generates. Then find if it's server side error, or client side error.

    http://verysimple.com/2007/04/18/ajax-toolkit-autocomplete-extender-not-firing/

    Please refer to the example at: http://forums.asp.net/p/1582937/3996380.aspx#3996380

    Monday, August 11, 2014 12:20 AM
  • User1918509225 posted

    Hi Raja17,

    Thanks for your post here.

    Your code seems very well.

    I suggest that you can add a breakpoint on your web service method ,when you type value in the textbox ,see the method can be hit.

    And here is working demo which you can download:

    http://www.aspsnippets.com/Articles/AJAX-AutoCompleteExtender-Example-in-ASPNet.aspx

    Best Regards,

    Kevin Shen.

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 13, 2014 1:57 AM