Error: AjaxControlToolkit.AutoCompleteExtender missing required ServiceMethod property value for txtSearch_AutoCompleteExtender

Last Reply on Sep 12, 2016 06:33 AM By dharmendr

Posted on Sep 12, 2016 02:18 AM

 

Server Error in '/' Application.
AjaxControlToolkit.AutoCompleteExtender missing required ServiceMethod property value for txtSearch_AutoCompleteExtender.
Parameter name: ServiceMethod
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: AjaxControlToolkit.AutoCompleteExtender missing required ServiceMethod property value for txtSearch_AutoCompleteExtender.
Parameter name: ServiceMethod

Source Error:


Line 6:               source: function (request, response) {
Line 7:                   $.ajax({
Line 8:                       url: '<%=ResolveUrl("~/Timeline.aspx/GetNames") %>',
Line 9:                           data: "{ 'prefix': '" + request.term + "'}",
Line 10:                          dataType: "json",

 

You are viewing reply posted by: dharmendr on Sep 12, 2016 06:33 AM.
Posted on Sep 12, 2016 06:33 AM Modified on on Sep 12, 2016 06:33 AM

Have you changed your code like in the below link.

http://www.aspforums.net/Threads/203555/Textbox-AutoComplete-error/Replies/5#Replies

You need to assign servicemethod.