Trying to build a very simple auto-suggest textbox using AJAX Toolkit and getting an error

Posted on 2012-08-15
Last Modified: 2012-09-06
Hi Experts!
I am trying to use this example to build an auto suggest textbox in

and this is the error Im getting:

AjaxControlToolkit.AutoCompleteExtender missing required ServiceMethod property value for AutoCompleteExtender1.
Parameter name: ServiceMethod

Can you please tell me what I am doing wrong based on this error, or maybe just give me an example that works?
Question by:vituxa
    LVL 18

    Expert Comment

    by:Ajay Sharma
    The declaration of autocomplete control should contain the ServiceMethod attribute.

    Modify your control declaration as below:

        TargetControlID="txtMovie"  ServiceMethod="GetCompletionList"
        runat="server" />
    LVL 15

    Accepted Solution

    Hi , refer the Following link

    LVL 23

    Assisted Solution

    by:Roopesh Reddy

    Did you decorate the Method in the code behind with WebMethod attribute?

    If not, try to declare it and try again!

    The link, which you posted clearly explains on how to to do that!

    You can also check this article -

    Hope it helps u...
    LVL 1

    Author Closing Comment

    Thank you all.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
    Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now