Tracking Forums, Newsgroups, Maling Lists
Home Submit Tracker Forums
  Advanced Search


AJAX :: Autocompleteextender Unresponsive Script?

I have added an autocompleteextender control to my page; this works fine on my development machine, and also on our test website (non-secure).When i deploy this to our secure web site, when trying to use the control, it brings up a message

'A script on this page is causing your browser to run slowely'.

The web method is within the page code-behind instead of a webservice.

View 2 Replies (Posted: Nov 25, 2010 01:20 PM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
AJAX :: Unresponsive Script Warning For ScriptRecource.axd?
I'm writting a c# web application, specialised for Mozilla Firefox, in, also using ajax.I have a Datalist filled from MSSQL. When I select an item from that datalist, some sql queriesare formed, to give me detailes about the selected item. But, before I get those detailes writtento my web page I get this message:Warning:Unresponsive script A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.If I press the "Continue" button, it does what it should have done in the first place, but thetime it takes to do the job can not be tolerated.The script in question is ScriptRecource.axd.

Posted: Jan 18, 2008 11:38 AM

View 2 Replies!   View Related
Configuration :: Unresponsive Controls In Web Deployment Project?
My web application functions as expected when usingnon-compiledweb pages. When I used a Web Deployment Project to build my solution (creating a separate assembly for each page and control output), the web application does not function (e.g.: pushing a button does not result in any action).

Posted: Apr 28, 2010 04:16 PM

View 3 Replies!   View Related
C# - MonoDevelop Seems To Hang (not Unresponsive) When Building Csprojs
I'm hoping someone else has experienced this and has some suggestions. The actual dcms process goes pretty quickly, but in between projects it hangs after printing: Building: XXX.YYY.ZZZ (Debug) After a few minutes (been 10 so far on this current run), it jumps to:

Performing main compilation...
/Library/Frameworks/Mono.framework/Versions/2.10.1/bin/dmcs /noconfig "/...
Build complete -- 0 errors, 0 warnings
Building: XXX.YYY.ZZZ (Debug)

Then hangs again for another few minutes. This is a sln file with 29 csproj projects in it that was originally created in Visual Studio 2010. I'm wondering if there is a better way to set this up - potentially a native MD file format?

Posted: Mar 7 at 8:09

View 1 Replies!   View Related
Internet Explore Is Unresponsive While Loading A Large Page?
We have a html page being rendered in the browser (IE) that causes the browser to hang. The page is generated through server side script (ASP.NET and viewstate is disabled). The page while loading takes a long time (its not a bw issue since we can reproduce it on local machine) and sometimes results in script unresponsive error. On debugging the issue we found that the html size on the client side is 4.73 MB. There's also a lot of DOM traversal (using JQuery) after document is ready (jquery-document.ready). After loading as well, the page simply hangs on any user interaction (scroll, mouseover) etc. A CPU usage spike (25-50% usage) is seen during loading and on any user interaction

Posted: Apr 23 10 at 9:10

View 4 Replies!   View Related
Editing .aspx File Makes Visual Studio Unresponsive?
I'm using Visual Studio 2008 on Windows 7. When I'm editing .aspx file VS stalls and thinks for about 3 sec every time I add a tag. Very frustrating. I'm guessing its doing some kind of compilation or checking. What can I do to make VS more responsive?

Posted: Apr 30 10 at 16:24

View 1 Replies!   View Related
AJAX :: Can Use AutocompleteExtender In C#
In the tutorial for autocomplete text box for static page method in c# the following lines of code is given. When i use it my website using c# it gives error 'invalid term "in" showing in line 7.

//Createarrayofmovies string[]movies={"StarWars","StarTrek","Superman","Memento","Shrek","ShrekII"};
//Returnmatchingmovies return(fromminmovieswherem.StartsWith(prefixText,StringComparison.CurrentCultureIgnoreCase)selectm).Take(count).ToArray();

Posted: Sep 02, 2010 11:32 AM

View 2 Replies!   View Related
AJAX :: AutocompleteExtender Does Not Work?
I have aproblem with autocomplete extender in Vb website , it does not work at all never call the webservice

here is the code for the page


Posted: Feb 21, 2007 12:02 PM

View 17 Replies!   View Related
AJAX :: Getting AutoCompleteExtender To Work?
Followed all the instructions I could get on the net with several variations. Not sure why I can't get it to work. Here's my code:

This is WebService1.asmx


Here's my Default.aspx:


Posted: Dec 04, 2009 02:10 AM

View 3 Replies!   View Related
AJAX :: Get AutoCompleteExtender To Work?
I'm trying to implement an <asp:AutoCompleteExtender>. Its some extension i downloaded from te web called the AjaxControlToolkit. Does anyone have experience with it cuz i cant get ik to work like it should. To start: I'm trying to make an asmx file but VS2008 makes a cs file instead. What are Page Methods? What steps do i need to take to make it work? My Code:


And thats about all the code i inserted... i don't get an error it just does not work... What is it i don't see / know... i'm new to all of this after all. And how do i test the webservice file?

Posted: Dec 30, 2009 04:12 PM

View 7 Replies!   View Related
AJAX :: How To Have Some Property Like Always On Top For Autocompleteextender
I have small problem, i am using ajax control toolkit for the first time. I have autocomplete extender control. when aauto completecontrol is displayed ,some portion of it gets hide by other controls like textboxes below the textbox associated with autocomplete extender. so i want to have some property like always on top for autocompleteextender

Posted: Jun 15, 2009 02:48 PM

View 5 Replies!   View Related
AJAX :: Autocompleteextender And ScrollBar?
I am running both IE 7 and Firefox 2.0. I have created a panel on my page and set the CompletionListElementID to the panel's ID. I set the scroll bars to vertical on the panel and everything seems to look alright on IE 7 until I go and click on the scroll bar. As soon as I click on the scroll bar it scrolls down briefly and then hides the drop down panel. In firefox the scroll bar is not displayed at all just a huge list of text.

Posted: Oct 30, 2006 01:41 PM

View 20 Replies!   View Related
AJAX :: Get AutoCompleteExtender To Work
I was just trying to use the AutoCompleteExtender control, but it is not working. refer to the code that I have used below: Client side code:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="[URL]">
<head runat="server">
<title>Untitled Page</title>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<br />
<asp:TextBox ID="ndescription" runat="server" Width="370px" autocomplete="off"></asp:TextBox>
<cc1:AutoCompleteExtender ID="ndescriptioneac" runat="server"
TargetControlID="ndescription" ServiceMethod="GetCompletionList"
UseContextKey="True" CompletionInterval="200" MinimumPrefixLength="2"
ShowOnlyCurrentWordInCompletionListItem="True" CompletionSetCount="10" EnableViewState="false">
<br />

Code behind:

Imports System.Data
Imports System.Data.SqlClient
Partial Class Default2
Inherits System.Web.UI.Page
<System.Web.Services.WebMethod()> _
<System.Web.Script.Services.ScriptMethod()> _
Public Function GetCompletionList(ByVal prefixText As String, ByVal count As Integer) As String()
Dim Conn As New SqlConnection("Initial Catalog=ExportsSRPFP2009;Database Source=UTPAL;User ID=sa;Password=sa")
Dim Cmd As New SqlCommand("SELECT description FROM Commodity" & _
" WHERE description LIKE '" & prefixText & "%'", Conn)
Dim rCommodity As SqlDataReader
Dim lCommodity As New List(Of String)
rCommodity = Cmd.ExecuteReader(CommandBehavior.CloseConnection)
While rCommodity.Read
End While
Return lCommodity.ToArray()
End Function
End Class

Posted: Jun 11, 2009 08:01 AM

View 5 Replies!   View Related
AJAX :: Use Hidden Value With Autocompleteextender?
I am using autocompleteextender to receive list of projects. Is thereany way that, given list of projects can hold a hiddenvalues like a dropdownlist? I need project ID as hidden that when I select a project from the list,I can retrieve the ID using C#/ASP.Net.

Posted: Aug 20, 2010 02:58 AM

View 2 Replies!   View Related
AJAX :: AutoCompleteExtender Is Not Working?
i have used fallowing code

<asp:ScriptManager ID="ScriptManager1" runat="server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" TargetControlID="TextBox1"
MinimumPrefixLength="1" ServiceMethod="GetNameInfo" ServicePath="WebService.asmx">

Posted: Nov 16, 2010 11:33 AM

View 1 Replies!   View Related
AJAX :: Can't Implement An Autocompleteextender
i'm using visual web developer 2008 express edition, i added the ajax toolkit to the tools without issue. SOME tools, like the accordian (and others) allow me to drag and drop them onto my forms. but others, such as the autocompleteextender wil not allow me to drag and drop them onto a form. i just get a circle with a line through it (as if to say - this is not allowed) - why is that?

i tried coding the extender in manually like many examples i've seen online:

<cc1:AutoCompleteExtender TargetControlID="txtName" ServiceMethod="GetCustomers" ServicePath="AjaxService.asmx"
MinimumPrefixLength="1" ID="AutoCompleteExtender1" runat="server">

but it underlines "cc1" and gives me the error: "unrecognized tag prefix"

what am i doing wrong?

Posted: Mar 11, 2010 04:26 PM

View 2 Replies!   View Related
AJAX :: AutoCompleteExtender + Backspace In IE8
I've got an AutoCompleteExtender on one of my pages, it seems to be working fine aside from this strange behaviour: Let's say I key in 2 characters, the suggestion list would display. When I press on backspace to delete those 2 characters, wait until the suggestion list to disappear, and re-enter those 2 characters, the suggestion list would no longer display (or sometimes would flicker for about a second after losing focus from the textbox) and I'll need to refresh the page just to get it working again.

However, if I do press backspace and delete those 2 characters but not let the suggestion list to disappear and re-enter new characters, it would continue displaying with correct suggestions. This behaviour seems to happen only in IE8, (although it works with IE8 using Compatibility View and Firefox)... My code is almost the same as the sample on this site except for the animations, and the service looks up in a database table.


Posted: Oct 19, 2010 07:35 AM

View 5 Replies!   View Related
AJAX :: AutoCompleteExtender On Textbox?
I have implemented autocompleteextender on textbox, everything works fine, however please help me with this minor thing.In textbox whenever I enter a value it get stored in memory

e.g I have typed 'hello' & press enter. The next time I press 'h', 'hello' appears below it, & hides the autocompleteextender. Is there a way to switch this function of text box

Posted: Nov 13, 2010 09:48 PM

View 2 Replies!   View Related
AJAX :: AutoCompleteExtender Refresh?
I am having a problem with the AutoCompleteExtender contol that I'veput up on my webpage. I have this employee page where the seach is done at the very top and I'm using this control; Theformatted name is my search key that I'm doing in myweb method. Nowwhen I am deleting an employee and reloading the page...the Formatted name still appears during the page load. I've to close the window and load it again to get the updated employee list.



Posted: May 21, 2010 08:28 PM

View 5 Replies!   View Related
AJAX :: Autocompleteextender In A ModalPopupExtender?
I have a working AutoCompleteExtender that gets it data from a webservice and have it on a number of my forms to retrive a list of names for my application user to select from.I've had no real problems setting this up but I now want to use it within one of the pop up windows on my app.Is it allowed to have an AutoComplete inside a PopUpExtender as it's not showing up as I'm typing. I've just plain copied the AutoCompleteExtender straight to the Panel that is the Pop Up window.

Posted: Dec 02, 2009 03:54 PM

View 6 Replies!   View Related
AJAX :: AutocompleteExtender Not Working From IIS?
Iam using AjaxAutoCompleteExtenderin my program (C#) . I am applying the extender to a texbox and using internal Web Service. I am getting the desired result, when i am running from the development environment. After Publishing the site to IIS, I am not getting the list and not showing any errors. I have turned off custom errors. My website is not an Ajax Enabled WebSite. So i added the lines into my Web.Config.I tried all service path.. http://localhost/Test/ WebService.asmxhttp:// i tried ~/Test/WebService.aspxWhile testing from the development environment, i am using the last one.I am not sure whether this is the problem with the service path or any permission issue.

Posted: May 24, 2010 09:59 AM

View 3 Replies!   View Related
AJAX :: AutoCompleteExtender Control?
I have anAutoCompleteExtender control asbelow. I havetested the web service and itis working. When I debug, there is no error message of any kind. But when I type in the TextBox1, the auto completion does not work. Does somebody know what could be the cause?


Posted: Jun 09, 2010 05:39 PM

View 5 Replies!   View Related
AJAX :: AutoCompleteExtender And ModalPopupExtender?
when I put the AutoCompleteExtender in the ModalPopupExtender, the auto-complete is hidden and get the disabled style of the rest of the page, the reson that I saw is that the popup z-index is set to question is how do I change the style of the auto-complete div that it will be top most and change the style when the Modal popup take his action.

Posted: Jan 24, 2007 12:39 PM

View 11 Replies!   View Related
AJAX :: AutoCompleteExtender Key Value In Text Box?
I am using ASP.NET 3.5...I have a text box where I am using the AutoCompleteExtender for search.

When user enter the key the serach shows the "ProjectNumber-ProjectName" in the search result....after selecting any of this...only ProjectNumber is entered in the textbox (I am using hidden control to store key values)...everything works fine till here.Now I have a problem with values stored in the hidden control...for example in the text box there are three ProjectNumbers ..A,B, I go ahead and delete all these three and enter the key word again...the search work fine but when I select any value the Text box is populated with old value (coming from hidden control) like A,B,C and then new value D

Please suggest me how I can assign the hidden text box value with the new text box values after the selection is done...

function KeySelected(source, eventArgs) {

var labelVal = document.getElementById('<%=this.Hidden1.ClientID%>').value;
var userValues = "";

Posted: Apr 07, 2010 05:02 PM

View 10 Replies!   View Related
AJAX :: ContextKey In AutoCompleteExtender?
How can I use the contextKey of an AutoCompleteExtender ?When I had a search, I got to know that using javascript we can fire the contextkey to the webservice writing this script and how to use it in webservice ????

Posted: Aug 24, 2010 11:27 AM

View 3 Replies!   View Related
AJAX :: AutoCompleteExtender And Firefox?
have one trouble with AutoCompleteExtender, Firefox and RequiredFieldValidator. In IE everything ok, but in Firefox other behavior. So, i have several separate update panels with updatemode="conditional" with one textbox by panel.Each textbox have RequiredFieldValidator and one textbox
have AutoCompleteExtender from Ajaxcontroltoolkit. So, when i'm type in this textbox some text, then press arrow down to select item in AutoCompleteExtender list and press Enter to select item, validation for other textboxes fires and show validation errors (so, submit occurs). In IE no submit occurs when i'm press enter in autocomplete list. How to create same behavior in Firefox?


Posted: Nov 12, 2009 09:09 AM

View 4 Replies!   View Related
AJAX :: AutoCompleteExtender In ModalPopup?
the AutoCompleteExtender is working fine for me, there seems just one "overlay" problem that I cannot handle.

I'm using the AutoCompleteExtender for a TextBox Control in a ModalPopup.. everything is working fine, but the "SuggestList" from the AutoCompleteExtender is rendered on the "background" so I cannot select the values in firefox. In Internet Explorer its also rendered on background, but it's possible to select the values. but the modalpopupdiv is just hiding parts of the "suggestlist" from the extender...

How can I place the "SuggestList" from the extender (Probably another div popup?) in the foreground and not in background of the modal-popup div?!I have yet not find a css class for the "suggestlist" that is generated by the extender.

Posted: Feb 25, 2007 09:28 PM

View 9 Replies!   View Related
VS 2008 - How To Get The Ajax AutocompleteExtender Using Z-index?
Is the a way to have the Ajax drop down overlay other control on the page (currently I have a gridview and I cannot see much of the drop down)?


Posted: Jan 18th, 2010, 03:05 PM

View 5 Replies!   View Related
VS 2005 Properties Of Ajax AutoCompleteExtender?
Is it possible to set the font size of the drop down text. Also is there a way to limit number of dropdown lines and have a scroll control.

Posted: Jan 25th, 2010, 08:20 AM

View 14 Replies!   View Related
AJAX :: AutoCompleteExtender Selected Value Feature
I've been using the AJAX Control Toolkit for a while now and I wanted to use it as a "sophisticated" dropdownlist, instead of just using it as a hint box. I know that many people asked for that kind of functionality, but it seemed way too far from the origin idea for the extender.

So, I decided to "mod" the original autocompleteextender code and implemented a few extra features likeSelected Value, AutoPostbackfor Item Selected Event, The Item Selected Event on Code Behind, Async Postback for Update Panels and, for that purpose,changed the web service/ page method to use "string[][]" instead of "string[]", so you can pass the item's text in the first column and the valuein the second column.

Now for the questions: is this the correct way to do it?

Posted: Jun 20, 2007 04:35 AM

View 23 Replies!   View Related
AJAX :: AutoCompleteExtender Implementation Guidelines
use a textbox and the AutoCompleteExtender to search for the customer. For example, on the PurchaseOrder form, I have a textbox with a Customer field, and when I type in the name of the customer, the AutoCompleteExtender shows the possible matches.Now, it takes a few seconds to show the list of values, even with setting the correct values on the extender, and if the user types in the name of the company, e.g. Contoso, and leaves the textbox, there might be 2 Contoso's in the database. The AutoCompleteExtender does not continue when the user leaves the textbox, thus the CustomerId is not determined yet.

Posted: Jun 01, 2010 12:32 PM

View 1 Replies!   View Related
AJAX :: Autocompleteextender To Textbox In 3.5 In Datagridview
can I have an auto extender to my textbox which is in datagridview. I am using it in footer template for inserting a new row to the gridview.

Posted: Mar 24, 2011 07:32 AM

View 1 Replies!   View Related
AJAX :: AutoCompleteExtender Not Calling WebMethod

Posted: Sep 10, 2010 09:05 PM

View 3 Replies!   View Related
AJAX :: AutoCompleteExtender Not Calling Webservice?
I have the following code to retrieve a list of employee names from a webservice. The webservice works fine when tested alone but using it here, it never gets called as I type in the Textbox. If I try the example at, it states the CompletionListCssClass and ones below it are invalid attributes of the Externder class???


Posted: Jun 19, 2007 08:46 PM

View 6 Replies!   View Related
AJAX :: AutoCompleteExtender Doesn't Work Using VB
I need to use the AutoCompleteExtender, but it doesn't work when I use VB.Net.

I created two solutions, one in C# and one in VB. Same machine, same Visual Studio, same AJAX installation. TheC# solution works fine, the VB doesn'twork. Nocompletion list at all, no errors, web service just does notrun at all.

The sample are very simple and supposed to work in the same way.

What should I do to make the AutoCompeteExtender to work in a VB solution?

Here is the C# code:[Code]....









Posted: Mar 19, 2007 01:56 PM

View 9 Replies!   View Related
AJAX :: AutoCompleteExtender Not Work In UpdatePanel?
Ihave AutoCompleteExtender on my page into UpdatePanel


it work perfect, but after i click buttin - AutoCompleteExtender not work

Posted: Dec 14, 2006 09:49 AM

View 17 Replies!   View Related
AJAX :: Adjusting Width Of AutoCompleteExtender
Is there any way to adjust the width of the autocomplete extender?

Posted: Mar 17, 2008 06:14 PM

View 9 Replies!   View Related
AJAX :: AutoCompleteExtender Of Control Tool Kit?
I am trying to implement autocomplete feature for a textbox.

<cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" Enabled="true"

Posted: Oct 28, 2009 11:51 AM

View 3 Replies!   View Related
AJAX :: AutoCompleteExtender Not Firing In IE 7 All The Time?
I'm using Visual Studio 2008, .NET 3.5, on a Vista 64 bit machine. I have a simple application that has 2 textboxes that are both setup with an AutoCompleteExtender. They both work as expected with the following exception only in IE7. The top textbox has the focus by default, I set this in a pageLoad javascript function.


I enter in some text in the top textbox and after 2 characters (MinimumPrefixLength="2")I get the list from my webservice and I've coded it so that once an item from the list is selected it uses the OnClientItemSelected="eventHandlerPnum"to call the javascript function 'eventHandlerPnum' which sets the document.location to a url with the item as a query parameter. This works fine the first time. If I use the back button when I start entering text into the top textbox I get the browser cached entries in a dropdown after the first character and the list from my webservice doesn't show up after the second character.

I've tried this in Firefox, Chrome, and Safari and they all behave correctly, ie they always display the web service list after the second character.

Posted: Jan 12, 2011 05:15 PM

View 3 Replies!   View Related
AJAX :: AutoCompleteExtender Is Not Firing The Associated Web Service
When I type into the TextBox that the AutoCompleteExtender is associated with, I get no response whatsoever. Here's the code:

TextBox + AutoCompleteExtender (cell is a TableCell object in a TableRow in a etc etc):


Posted: Feb 10, 2011 09:26 PM

View 1 Replies!   View Related
Copyright 2005-08, All rights reserved