Questions tagged [autocompleteextender]

The AutoCompleteExtender is part of the AJAX Control Toolkit for ASP.net

The AutoCompleteExtender is part of the AJAX Control Toolkit for ASP.NET

Demo presentation here

AutoComplete is an ASP.NET AJAX extender that can be attached to any TextBox control, and will associate that control with a popup panel to display words that begin with the prefix typed into the TextBox.

164 questions
5
votes
1 answer

Associate Key-Value pair with textBox autoComplete extender

How do I associate a Key-Value pair with textBox autoComplete extender in a way similar to a dropdownlist? It is preferred that value will not be visible to user.
Ahmed Atia
  • 17,848
  • 25
  • 91
  • 133
4
votes
1 answer

Get TargetControlId of an AutoCompleteExtender in OnClientItemSelected Javascript function

I have a texbox inside a templatefield in a gridview. For this textbox I have defined an autocompleteextender with its TargetControlID set to "myTextbox" which is working just fine. At the same time, for the OnClientItemSelected property I have…
4
votes
1 answer

AutoCompleteExtender position is wrong in Webkit

I have an ajaxtoolkit AutoCompleteExtender that has position: absolute. I have placed it inside a div with position: relative. This makes the extender dropdown place itself perfectly on all browsers, except on Chrome/Safari, where the position is…
Peter Evjan
  • 2,423
  • 3
  • 32
  • 50
3
votes
2 answers

How can I change the TargetControlID of AutoCompleteExtender client side (javascript)?

Normally, I can can set the TargetControlID server side using something like this: AutoCompleteExtender ace = new AutoCompleteExtender(); ace.ID = "AutoCompleteExtender1"; ace.TargetControlID = "whatever"; I know how to grab the…
3
votes
3 answers

disable browser autocomplete for ajax:AutoCompleteExtender

I'm using the .net ajaxtoolkit control AutoCompleteExtender. It works great but my firefox autocomplete overrides the values that the extender is returning (the firefox one lays on top of the control's). is there a way to disable the browser's…
Kyle
  • 10,839
  • 17
  • 53
  • 63
3
votes
1 answer

how to work with auto complete extender with asp.net 4.0 with c#

i just want to work with auto complete extenders for finding results that relates what user typing to text box. here is my code : [System.Web.Script.Services.ScriptMethod()] [System.Web.Services.WebMethod] public static List
Shal
  • 319
  • 4
  • 8
  • 25
3
votes
1 answer

ajax autocomplete extender with multiple column list

I'm looking for a sample using Autocomplete with DataTable. The autocomplete should have a table structure apart from single column. Any hint..? Thanks! in advance The mark up is as follows
Rinshad Hameed
  • 117
  • 1
  • 6
  • 18
3
votes
1 answer

Grabbing values from Ajax AutoCompleteExtender with "Tab" or "Enter"

I have a setup where a user can enter a zip code into an ASP.NET TextBox control, and I have an AutoCompleteExtender from the Ajax Control Toolkit attached to that textbox. It gets its data from a static page method on the ASPX page. When the user…
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
3
votes
2 answers

ajaxToolKit autoCompleteExtender OnClientItemSelected

I am trying to implement an autoCompleteExtender into my project. Currently I am using the OnClientItemSelected property to call a javascript on the client side. Is there a way (using another property or some other code) that will let me call a…
2
votes
1 answer

AutoComplete AJAX Not Working

I am using an AutoCompleteExtender from AjaxControlToolkit on a TextBox. To put it simply, when I drag and drop the AutoCompleteExtender tool on to my TextBox and then click on "Add AutoComplete page method", I get the following error: Cannot…
Subby
  • 5,370
  • 15
  • 70
  • 125
2
votes
1 answer

Redisplay results list on AutoCompleteExtender through javascript

I have a working AutoCompleteExtender implementation. What I want, is that if I have exited the text box, and the list of items have dissappeared, I want to re-display the list from javascript code without having to write something in the text box…
awe
  • 21,938
  • 6
  • 78
  • 91
2
votes
1 answer

AjaxControlToolkit AutoCompleteExtender not working in IIS

I am using the AjaxControlToolkit's AutoCompleteExtender without a Web Service(PageMethod). It is working fine on my local machine, but AutoCompleteExtender won't work in the IIS although AjaxControlToolkit does. I've searched around but none…
Yorro
  • 11,445
  • 4
  • 37
  • 47
2
votes
1 answer

Autocomplete extender not populating

I am trying to utilize the Ajax Auto Complete Extender with a WCF service that is hosted in the web project. The service is reached and I have verified that results are returned with fiddler, however the text box associated with the auto complete…
jparram
  • 804
  • 8
  • 24
2
votes
2 answers

Javascript code to get ProductID?

I have a webservice that gets a ProductName and I need the Products that are dropped down from the AutoExtender to be links to each product's individual page. Right now the URL gets filled with the ProductName, and not the…
Jamie
  • 1,579
  • 8
  • 34
  • 74
2
votes
2 answers

Asp.Net Autocomplete set_contextKey "Object doesn't support this property or method"

I am facing a problem while setting the context key from the client side using jquery and javascript. It is unable to find the function set_contextKey of AutoCompleteExtender of ASP.Net. Here is my HTML for textbox and…
Naveed Butt
  • 2,861
  • 6
  • 32
  • 55
1
2 3
10 11