Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Problem with Asp.Net AJAX AutocompleteExtender

Posted on 2009-02-08
1
Medium Priority
?
288 Views
Last Modified: 2012-05-06
Hi,

I'm having an awful time get the Autocomplete extender working for a site.  I've got the webservice set it, it gets called and returns the list of suggestions, but it's not showing the list of suggestions on the page.  Could there be a setting I'm missing on the textbox?

Also, if I don't specify at the creation of the web site that it needs to be AJAX-enabled, what's the easiest way to change it?

Thanks.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
 
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    
    <form id="form1" runat="server">
     <asp:ScriptManager ID="ScriptManager1" runat="server">
   </asp:ScriptManager>
   <div>
        <asp:TextBox ID="TextBox1" runat="server" ></asp:TextBox>
        <cc1:AutoCompleteExtender runat="server" 
                ID="autoComplete1" 
                TargetControlID="TextBox1"
                ServicePath="AutoComplete.asmx" 
                ServiceMethod="GetCompletionList"
                MinimumPrefixLength="2" 
                CompletionInterval="1000"
                EnableCaching="true"
                CompletionSetCount="12">
        </cc1:AutoCompleteExtender>
 
    </div>
    </form>
</body>
</html>

Open in new window

0
Comment
Question by:jseneris
1 Comment
 

Accepted Solution

by:
jseneris earned 0 total points
ID: 23589955
Nevermind.  figured it out.

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
Screencast - Getting to Know the Pipeline
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

810 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