.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

auto complete extender

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :ASP.Net

I'm new-ish to asp.net/vb...and just now trying to implement the ajax autocompleteextender & using web services for the first time,...So please understand if my question is vague...

I’m trying to implement the ajax autocompleteextender onto an existing page I have…

 It’s not working…I think I’m probably not creating the web service correctly???  As of now, I have a “dummy” web service…it should just return “hello world” as an option when the user types anything into the test textbox.  I don’t see that it’s calling the web service at all.  Nothing happens when I type in the testAutoComplete textbox.  No errors.  Is there a way to test if it’s even calling the web service?  Or, run the web service by itself, to see if that is created OK?  This might be the first ajax thing I have in my website…so maybe the site is not “ajax-enabled” or something?  But, the “<asp:AutoCompleteExtender>” does not error, so I kinda don’t think so?


Here’s my aspx page with the autocompleteextender (/ProductMaintenance/Main/ProductSearch.aspx):

 <asp:TextBox ID="testAutoComplete" runat="server"></asp:TextBox>


View Complete Post

More Related Resource Links

auto complete extender stops


Hello everyone

when the textbox of the  autocomplete extender looses focas the auto complete extender stops the returning any results or even firing events(onpopulating, onpupulated).

Could you please help me fix this.


and I there any way to know when the extender fires the request(please provide code example if you can).


thanks a lot.

Auto Complete Extender Not Working

I have written everything in that Control but that extender is not working. my Webservice is working properly Plz tell me solution.  

Auto-complete extender and default button of a panel - Enter key issues


Hi. I have a text box with an auto-complete extender attached to it. This is in a panel. Now, I have set the default button of the panel to the submit button of the panel.


      <text box/>




Now, I find that when the auto-complete options show up and I try to select an option using the enter key, the button is pressed (triggering a postback) due to it being the defaultbutton of the panel.

I want to be able to select an aut-complete option using the enter key and yet not post back. Therefore, the enter key (when the text box is in focus) should not trigger a postback. How can I achieve this?

Auto Complete Extender key value pair in Listview



I'm pretty new to ASP.Net and I came across a problem using Ajax AutocompleteExtender. Currently I'm trying to update the database table through ListView. More precisely - I'm trying to update foreign key (PARTNER_ID). Basically I need the DropDown functionality out of a Autocomplete Extender because I have a very long list of partners. I managed to get key/value pairs back to Autocomplete Extender but I can't insert the value into a hidden filed that I use to update the table. This is as far as I got - the error I get from compiler is:

Compiler Error Message: CS0103: The name 'ACEValueEdit' does not exist in the current context

Here is the code:


Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="OdgovorneOsobe.aspx.cs" Inherits="Farmex_CRM.WebForm3" %>

<%@ Register Assembly="AjaxControlToolkit&q

AJAX Auto Complete Extender with Database


Hi Guys

I have decided to use the Ajax Auto complete extender with a database, i found some cool articles on google to do this, but i cannot get it to work, I am trying a simple example where i have 1 textbox and i am trying to obtain products from the products table in the northwind database, heres my code (its not working)

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" 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">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    <cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" MinimumPrefixLength=&quo

Auto Complete extender is not working in Web User Control



I am using auto complete extender and it is not working in Web user Control . But Working in Web form Please give its solution ASAP.

Cs Code

    public static string[] GetSuggestions(string prefixText, int count)
        MyDatabaseDataContext db = new MyDatabaseDataContext();
        return db.Movies
            .Where( m => m.Title.StartsWith(prefixText) )
            .OrderBy( m => m.Title )
            .Select( m => m.Title)

<asp:TextBox  id="txtMovieTitle"  AutoComplete="off"  Runat="server" />
    <ajax:AutoCompleteExtender   id="ace1"

How to create auto complete textbox

Hello I saw many examples from google. But there are nothing that the textbox is automatically completed by data from database. How can I do this. I like this example http://flux88.com/blog/jquery-auto-complete-text-box-with-asp-net-mvc/  but how can I modify it. 

Auto complete control in User control



I have inplemented the auto complete extender in a web form (with a static method)..works fine.

Now I have  moved the functionality into a user control and the auto complete extender is not working.

Any idea?


Visual Studio - Element ID Auto Complete Settings


I am a bit frustrated at the following. Yesterday I had a block of code that I wanted repeated in a series of conditional statements, ie., if ... elseif.... elseif... end if   When copy that block of code from one statement to the next VS replaces the id values for elements. I know that there can only be on ID per element per page but how can I stop VS from doing this? Thanks.

How to use auto complete in text box from database



I am using MS acess database 2007 and visula studio 2008.

i am workin on a windows application where i need to use the autocomplete functionality in text box and it should take values from the data base.

can anyone please help me with this?

thank you

Complete SQL Solution

SQL Server Solutions: SQL Server 2000/2005 Related Free Snippets.

Parallel port complete: programming, interfacing & using the PC's parallel

Parallel port complete: programming, interfacing & using the PC's parallel


no intellisense, smart tag, extender wizard etc


Development Environment:  VS 2008 Pro, IIS 6, asp.net 2.x, sql 2005 server

Installed the version of AJAX Toolkit and Library for the .net 2.0 compatibility (as IIS is still using 2.x)

The problem is as that within the vs 2008 pro, when I select for example a button control...there should be an additional pop-up intellisense indicating...add extender.

to compound this, within the extender control ... the TargetControlID -- should be a drop-down list, indicating which controls are compatible with the extender ... there is no drop-down list.

even if I manually type the control to associate the extender with, this has no effect on the control (such as textbox control) -- as there should be another option appear indicating the association has taken place).

 below is the steps to take (as written by MS) -- but this is what I am not getting:

"If the Button Tasks shortcut menu does not appear, right-click the Button control and then click Show Smart Tag."  -- the smart tag is not appearing

To add an AJAX extender control
Switch to Design view.

If the page does not already contain a ScriptManager control, from the AJAX Extensions tab of the Toolbox, drag one onto the page.

A ScriptManager c

how implement transformations in slideshow extender.



i am working on ajax slideshow extender.

can anybody help in coding for 

1) implement transformations between slide to slide.

2) and the direction means orientation in changing of slides.

I hope u got my querries.

please help in this regard.

thanks in advance.

calendar extender


i want to put date into 2 combo box

combo1 = date, and combo2= month

can you help me?

Animation Extender ( LinkButton Disbale )


My flyout animation starts on a click of linkbutton, everything works fine on IE, as I click the linkbutton flyout animation is triggered and linkbutton gets disbaled during the animation. But on Firefox and Chorme linkbutton doesn't get disbaled , due which if I again and again click on the linkbutton the flyout animation keeps moving towards left side on every click.

In firefox and chorme linkbutton always remains enabled.

 <cc1:AnimationExtender ID="AnimationExtender1" TargetControlID="lnkBtnAbt" runat="server">
                        <EnableAction Enabled="false" />
                        <StyleAction AnimationTarget="moveMe" Attribute="display" Value="block"/>
                        <Parallel AnimationTarget="moveMe" Duration=".5" Fps="30">
                            <Move Horizontal="-350" Vertical="50"></Move>
                            <FadeIn Duration=".5"/>
                        <Parallel AnimationTarget="moveMe" Duration=".5">

BITS: Write Auto-Updating Apps with .NET and the Background Intelligent Transfer Service API


Both the .NET Framework and Windows have some very interesting APIs for creating applications that are capable of updating themselves automatically over a network. There are many advantages to writing your application to update itself like Windows Update does, including convenience for your users, from easier maintenance to network administration. Automatic updates require attention to factors such as discovery, security, and file replacement. In this article, the author covers the BITS API as well as a number of features of the .NET Framework that take care of these facets of auto-updating using the same facilities that the Windows Update uses.

Jason Clark

MSDN Magazine February 2003

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend