AJAX :: AutoCompleteExtender Animations Not Working In IE?
Nov 24, 2010
I am trying to animate AJAX AutoCompleteExtender. It works perfect in all of the browsers other then IE. I get the following error,
Webpage error details
Message: Invalid argument.
Line: 2140
Char: 17
Code: 0
URI: http://localhost/ScriptResource.axd?d=NwDIAxd3d5P9y3NaXF_9DpoTdFVPLX7nvpHgz9k2UbuTIJMahchcjYsB7QgyJBNEN5AwkHSQX9XtraYWzftAj-QWl2x-HjKgpZLOK4_8BpH2e5QNTHyidi5dli30apg7ykR9H4_YOOv3l7baGLbxJ1A5Nfw1&t=4c551fe5
[Code]....
View 1 Replies
Similar Messages:
Mar 17, 2011
I am in the middle of rebuilding a site an incorperating Ajax here and there.I was testing out the animations since I was interested in using them all over our new site.I was using the sample scripts found here:http://www.asp.net/ajax/videos/basic-aspnet-authentication-in-an-ajax-enabled-applicationplaced it on myserver and it works flawlessly across IE-Safari-Chrome-Mozilla. When I tried Ipad/Iphone the page tries to load, and then refreshes.I went to the samples page and found that everything there works EXCEPT the animations sample.http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Animation/Animation.aspxIphone is Iphone 4 with latest updates, Ipad is original with latest updates.
View 5 Replies
Jan 27, 2011
A popular example for various methods of using the animation extender is not working for me. In the example there are 4 methods detailed for invoking an animation:Markup (this works)Selectively playing the Animation Already defined in Markup for an AnimationExtender on the Page. (this works)However, I am most interested in using one of the other two methods, neither of which works for me:Call the Static PLAY Method of the Animation Framework to Animate the Control.andCreate an Instance of the Client-Side Animation Extenders to Animate the Control.Here is my code, as taken from the sample:
<%@ Page Language="C#" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
[code]...
View 1 Replies
Nov 16, 2010
i have used fallowing code
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" TargetControlID="TextBox1"
MinimumPrefixLength="1" ServiceMethod="GetNameInfo" ServicePath="WebService.asmx">
</cc1:AutoCompleteExtender>........
View 1 Replies
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://192.109.1.8/Test/WebService.asmxand 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
Feb 15, 2010
I tested the web service.it is working fine.The problem that i want to solve is to make call to webservice. Here is the .aspx code
<asp:TextBox ID="txtFullName" runat="server"></asp:TextBox>
<ajaxToolkit:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server"
TargetControlID="txtFullName" ServiceMethod="FindFullName"
ServicePath="../WebService.asmx" EnableCaching="true"></ajaxToolkit:AutoCompleteExtender>
Webservice code :
using System;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Configuration;
using System.Data.SqlClient;
using System.Data;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Summary description for WebService
/// </summary>
[WebService(Namespace = "[URL]/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.Web.Script.Services.ScriptService]
public class WebService : System.Web.Services.WebService {
public WebService () {
//Uncomment the following line if using designed components
//InitializeComponent();
}
[WebMethod]
public string HelloWorld() {
return "Hello World";
}
[WebMethod]
public string[] FindFullName(string prefixText)
{
string sql = "Select FName from Investigators Where FName like @prefixText";
SqlDataAdapter da = new SqlDataAdapter(sql,"Data Source=vvvvv;Initial Catalog=vyyyd;Persist Security Info=True;User ID=PowetttrUsyyer;Password=888888);
da.SelectCommand.Parameters.Add("@prefixText", SqlDbType.VarChar, 50).Value = prefixText+ "%";
DataTable dt = new DataTable();
da.Fill(dt);
List<string> liste = new List<string>();
foreach (DataRow dr in dt.Rows)
{
liste.Add(dr.ItemArray[0].ToString());
}
return liste.ToArray();
}
}
View 10 Replies
Feb 24, 2011
I have a textbox with the autocompleteextender in VS2010 that is referencing a webservice. However, nothing I seem to do makes this work as no values are returned when I begin typing in the textbox. When I view the webservice in my browser and invoke it, it returns values so I know that my webservice works. Code below.
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
<asp:TextBox ID="Task1" runat="server" CssClass="CENTER" Width="160px"></asp:TextBox>
[code]...
View 1 Replies
Jan 17, 2011
I got the auto complete extender working with the database, but will show the autocomplete only if the data is less than around 500 records.... anything above that, and the exntender will not show at all.... Does the auto complete extnder have a limit on the number of records?.
View 1 Replies
Jul 27, 2010
i have an asp.net application in which i have used autocomplete extender now when i deploy it on the server (2003 and iis 6) the autocomplete extender does not work .. i looked on the net and found out the system.web.extensions system.web.extensions.design dll are needed for it, it was not present so i added them to the gac still it is not working i have .net3.5 sp1 instaled on the server.
View 3 Replies
Jul 18, 2012
I tried your code for Autocomplete without Webservice and didn't work on my page. When I tried it on a new project it works fine but on my project it does not. I have other controls on the page but that shouldn't stop it from working right?
Attached is my code
<%@ Page Title="" Language="VB" MasterPageFile="~/intranet.master" AutoEventWireup="false" CodeFile="warehouse.aspx.vb" Inherits="warehouse" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
[CODE]...
View 1 Replies
Jun 16, 2015
ajax AutoCompleteExtender not working in user control (.ascx) but when use directly on aspx page its working perfectly.
<asp:TextBox ID="txtSearchProject" runat="server" CssClass="input col-lg-4" type="text" placeholder="Type Location or Project/Society or Keyword"></asp:TextBox>
<cc1:AutoCompleteExtender ID = "Act_SearchProject" runat = "server" TargetControlID = "txtSearchProject" MinimumPrefixLength="1" EnableCaching="true" CompletionSetCount="1" CompletionInterval="100" ServiceMethod="GetLocality_Project" >
[Code].....
View 1 Replies
Sep 9, 2010
[Code]....
In the upper code... AutCompleteExtender1 works perfectly... AutoCompleteExtender2 not working at all. Same web service, same method... both are inside the same .aspx file... both have exactly the same conditions.What is it that I am missing? And if you think that it is because they both calling the same service and method it is not... the second doesn't work with different service or different method (both inside the same service and in the different .asmx file).Can it be, that you simply can't have 2 ACE controls on the same page?And btw, is it possible to run server code once someone selects something from ACE control?
View 8 Replies
Jan 19, 2011
Autocompleteextender not working inside an user control tried all ways. i have a custom function.. inside the cs file itself like the following :-
[Code]....
I did something like this and it worked properly when it was in aspx but when i changed all this to ascx and when i added the user control in aspx the autocomplete is not working. say enablecontext = false; i have even tried that.. its not even reaching till that function. moreover i need contextkey to validate different autocomplete controls inside my page.
View 2 Replies
Apr 20, 2010
I have one web application which is accessible via to different IP addresses (one of them is virtual) now the application is running smoothly when accessed via the original ip address but when the same application(website) is accessed via the virtual ip address the autocomplete extender is not working it is flashing a javascript error 'Stop running the script? A script on this page is causing internet explorer to run slowly
View 2 Replies
Jul 18, 2010
I have added autocompleteextender in page . It was working without parameters , when i have added parameters "pretext","count" it stops working. below are my code :
<div>
<asp:ToolkitScriptManager
ID="ToolkitScriptManager1"
runat="server">
<Services>
<asp:ServiceReference
Path="~/Admin/WebService1.asmx"
/>
</Services>
</asp:ToolkitScriptManager>
<asp:TextBox
ID="TextboxCompletelist"
runat="server"></asp:TextBox>
<asp:AutoCompleteExtender
ID="TextboxCompletelist_AutoCompleteExtender"
runat="server"
ServiceMethod="GetCompletionList"
Enabled="True"
ServicePath="~/Admin/WebService1.asmx"
TargetControlID="TextboxCompletelist"
CompletionSetCount="10">
</asp:AutoCompleteExtender>
</div>
namespace AgentService
[WebService(Namespace = [URL]
[WebServiceBinding(ConformsTo =
WsiProfiles.BasicProfile1_1)]
[ToolboxItem(false)]
[System.Web.Script.Services.ScriptService]
public
class
WebService1 : System.Web.Services.WebService
{
[WebMethod]
public
static
string[] GetCompletionList(string PrefixText,
int count)
{
string countryname;
SqlParameter[] parm =
new
SqlParameter[1];
parm[0] = new SqlParameter("@PrefixText",
PrefixText);
DataTable dt =
SqlHelper.ExecuteDataset(AppSetting.ActivateConnection,
CommandType.StoredProcedure,
"FetchAutoCompleteStates",parm).Tables[0];
List<string> items =
new
List<string>();
for (int i = 0; i <= dt.Rows.Count-1; i++)
{
countryname = dt.Rows[i]["statename"].ToString();
items.Add(countryname);
}
return items.ToArray();
}
View 2 Replies
Jan 20, 2010
i have tried autocompleteextender using page method and without master page and its working. but now im try to put them into master and its not working. this is my code***********pagename.ascx
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="C_TestAutoComplete2.ascx.vb" Inherits="C_TestAutoComplete2" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
[code]...
View 1 Replies
Jun 25, 2010
following is the code i am using and it is not working.
<asp:TextBox ID="txtWarrantNumber" runat="server"></asp:TextBox>
<AjaxCtrl:AutoCompleteExtender ID="acWarrantNumber" runat="server" TargetControlID="txtWarrantNumber"
ServiceMethod="GetWarrantNumber" ShowOnlyCurrentWordInCompletionListItem="true"
CompletionInterval="100" EnableCaching="true" MinimumPrefixLength="1" CompletionSetCount="4">
</AjaxCtrl:AutoCompleteExtender>
</ContentTemplate>
</asp:UpdatePanel>
</PopupTemplate>
Public Shared Function GetWarrantNumber(ByVal prefixText As String, ByVal count As Integer) As String()
Dim warrantNumbers() As String = {"ankit", "sachin", "ankrrr", "ankppp"}
Return warrantNumbers
End Function
View 1 Replies
Sep 3, 2010
I have a web service file in my project having a web method which is used for AutoCompleteExtender and which works fine when I debug it from VS. But when I publish and host it on IIS, it's not working properly. However, I tested the webservice method directly by typing the URL and it gave the desired output. Is their a special setting needs to be done in IIS to make it working or any property of AutoCompleteExtender need to be set?
View 3 Replies
Jan 28, 2011
I can't get the AutoCompleteExtender working. It's probably something trivial. Using .NET 4 default ASP.NET project in VS2010.
Code:
<asp:TextBox runat="server" ID="example" autocomplete="off" />
<ajaxToolkit:AutoCompleteExtender
ID="autocomplete"
runat="server"
TargetControlID="example"
ServicePath="~/services/AutoComplete.asmx"
ServiceMethod="GetCompletionList"
CompletionInterval="1" />
The web service works - the code is copied practically verbatim from the AJAX Control Toolkit samples. This is really frustrating me. I have looked at other questions on here and not found a solution yet.
I don't get any errors or exceptions. Typing in the text box doesn't do anything, the web service doesn't hit the break point.
View 3 Replies
Aug 11, 2010
I have ajax autocompleteextender and it is working fine with our test enviornment where we dont have secured HTTP. But while moving the code to Qa, which runs on HTTPS, AutoCompleteExtender stops working. I debugged and see control is going to webservice but unable to fetch data or call database from webservice.
View 1 Replies
Nov 19, 2010
Any good starter-kits / examples showing some simple interactive animations in a web page? Is additional software required?
View 3 Replies
Jun 28, 2010
good day iam still a novice when it comes to designing , i would like to know how to design animations with any flash program and intergrate it with my designs . i have tried to make alot of designs but i cant use them on asp.secondly i would like to know if visual studio 2008 supports flash buttons and flash images..
View 1 Replies
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
Oct 6, 2010
I just wanted to insert flash animations into a page using Asp.net, advise me the simplest technique for enbedding flash in to asp.net page.And on clicking a that particular flash , it should be redirected to another suitable page.
View 1 Replies
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