AJAX :: Autocompleteextender Unresponsive Script?

Nov 25, 2010

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

Similar Messages:

AJAX :: Unresponsive Script Warning For ScriptRecource.axd?

Jan 18, 2008

I'm writting a c# web application, specialised for Mozilla Firefox, in asp.net, 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.

View 2 Replies

Configuration :: Unresponsive Controls In Web Deployment Project?

Apr 28, 2010

My web application functions as expected when using non-compiled web 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).

View 3 Replies

C# - MonoDevelop Seems To Hang (not Unresponsive) When Building Csprojs

Mar 7, 2011

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?

View 1 Replies

Internet Explore Is Unresponsive While Loading A Large Page?

Apr 23, 2010

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

View 4 Replies

Editing .aspx File Makes Visual Studio Unresponsive?

Apr 30, 2010

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?

View 1 Replies

AJAX :: Can Use AutocompleteExtender In C#

Sep 2, 2010

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.

[System.Web.Services.WebMethodAttribute(), System.Web.Script.Services.ScriptMethodAttribute()]
public static string[] GetCompletionList(string prefixText, int count, string contextKey) {
// Create array of movies string[] movies = {"Star Wars", "Star Trek", "Superman", "Memento", "Shrek", "Shrek II"};
// Return matching movies return (from m in movies where m.StartsWith(prefixText,StringComparison.CurrentCultureIgnoreCase) select m).Take(count).ToArray();

View 2 Replies

AJAX :: AutocompleteExtender Does Not Work?

Feb 21, 2007

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


View 17 Replies

AJAX :: Getting AutoCompleteExtender To Work?

Dec 4, 2009

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:


View 3 Replies

AJAX :: Get AutoCompleteExtender To Work?

Dec 30, 2009

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?

View 7 Replies

AJAX :: How To Have Some Property Like Always On Top For Autocompleteextender

Jun 15, 2009

I have small problem, i am using ajax control toolkit for the first time. I have autocomplete extender control. when a auto complete control is displayed ,some portion of it gets hide by other controls like textboxes below the textbox associated with auto complete extender . so i want to have some property like always on top for autocompleteextender

View 5 Replies

AJAX :: Autocompleteextender And ScrollBar?

Oct 30, 2006

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.

View 20 Replies

AJAX :: Get AutoCompleteExtender To Work

Jun 11, 2009

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

View 5 Replies

AJAX :: Use Hidden Value With Autocompleteextender?

Aug 20, 2010

I am using autocompleteextender to receive list of projects. Is there any way that, given list of projects can hold a hidden values like a dropdownlist? I need project ID as hidden value...so that when I select a project from the list, I can retrieve the ID using C#/ASP.Net.

View 2 Replies

AJAX :: AutoCompleteExtender Is Not Working?

Nov 16, 2010

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">

View 1 Replies

AJAX :: Can't Implement An Autocompleteextender

Mar 11, 2010

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?

View 2 Replies

AJAX :: AutoCompleteExtender + Backspace In IE8

Oct 19, 2010

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.


View 5 Replies

AJAX :: AutoCompleteExtender On Textbox?

Nov 13, 2010

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

View 2 Replies

AJAX :: AutoCompleteExtender Refresh?

May 21, 2010

I am having a problem with the AutoCompleteExtender contol that I've put up on my webpage. I have this employee page where the seach is done at the very top and I'm using this control ; The formatted name is my search key that I'm doing in my web method. Now when 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.



View 5 Replies

AJAX :: Autocompleteextender In A ModalPopupExtender?

Dec 2, 2009

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.

View 6 Replies

AJAX :: AutocompleteExtender Not Working From IIS?

May 24, 2010

I am using AjaxAutoCompleteExtender in my asp.net 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.

View 3 Replies

AJAX :: AutoCompleteExtender Control?

Jun 9, 2010

I have an AutoCompleteExtender control as below. I have tested the web service and it is 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?


View 5 Replies

AJAX :: AutoCompleteExtender And ModalPopupExtender?

Jan 24, 2007

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 10000.my 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.

View 11 Replies

AJAX :: AutoCompleteExtender Key Value In Text Box?

Apr 7, 2010

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,C....now 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 = "";

View 10 Replies

AJAX :: ContextKey In AutoCompleteExtender?

Aug 24, 2010

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 ????

View 3 Replies

AJAX :: AutoCompleteExtender And Firefox?

Nov 12, 2009

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?


View 4 Replies

AJAX :: AutoCompleteExtender In ModalPopup?

Feb 25, 2007

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.

View 9 Replies

VS 2008 - How To Get The Ajax AutocompleteExtender Using Z-index?

Jan 18, 2010

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)?


View 5 Replies

VS 2005 Properties Of Ajax AutoCompleteExtender?

Jan 25, 2010

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.

View 14 Replies

AJAX :: AutoCompleteExtender Selected Value Feature

Jun 20, 2007

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 like Selected Value, AutoPostback for 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 value in the second column.

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

View 23 Replies

Copyrights 2005-15 www.BigResource.com, All rights reserved