AJAX :: 3.5 Script Manager - Error "Ensure The Correct Version Of The Scripts Are Referenced"
Mar 24, 2010
I am in the process of migrating the ASP.Web Application from .NET framework 1.1 to 3.5. I installed the VS 2008 (framework 3.5 SP1) and was able to rebuild the ASP.NET web app from 1.1. I downoladed the AJAX Toll Kit library from codeplex [URL] I was able to add the AJAX Toolkit tab in my VS 2009 tool box. I am using the AutoComplete serach extender which works fine when I use the Ajax Tool Kit Script manager. When I use the Ajax Extension Script Manager in place of Ajak ToolKit Script manager I get an error "Please let me know why AutoComplete Search Extender is not working with the Ajax Extension Script Manager.
AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the AjaxScriptManager in System.Web.Ajax.dll, or use the ToolkitScriptManager in AjaxControlToolkit.dll.
View 2 Replies
Similar Messages:
Jun 14, 2010
We have upgraded recently from Visual Studio 2008 to Visual Studio 2010. One of the upgrades has to do with the AJAX libraries.
On the initial project (SV2008) the AjaxControlToolkit.dll used was:
Product Version:version: 1.0.10920.0
Date Modified: 28/09/2007
The current one, used in the VS2010 project is:
Product Version:
3.0.31106.0
Date Modified: 09/03/2010
The project compiles fine but once we access some web pages, we get numerous error messages with the first one being:
Message: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the AjaxScriptManager in System.Web.Ajax.dll, or use the ToolkitScriptManager in AjaxControlToolkit.dll.
View 8 Replies
May 31, 2010
I'm trying to use the AJAX Control Toolkit on a content page that uses master pages. I want to put the ToolkitScriptManager on the Masterpage because there are multiple going to use the toolkit. When I try to drag the any of the controls onto the Masterpage, or a content page, I get an error in a dialog box. It says "The operation could not be completed. Invalid FORMATETC structure." I used the AJAX Control Toolkit in a website project yesterday with out any issues. I'm trying to use it in a web application project today which it should work in. I've read a few articles online but can't get a solution to work. I deleted the tab in the tool box, recreated it, choose the items for the new tab. I unloaded and reloaded the project. I verified that the correct version of the framework is being targeted.
View 1 Replies
Apr 3, 2010
when I add <asp:scriptmanager runat="server" id="script1"><asp:scriptmanager> this line in aspx page ,one run time error comes 'sys is undefined'.
View 1 Replies
Sep 22, 2010
We have a DNN site and we use the AJAX Toolkit. We upgraded from AJAX 30930 to 40412. We changed the script manager to a ToolkitScriptManager. I have a image button that posts back and calls a modal popup.show() method. When I click the button I get
a javscript error before the post back:
Error: Sys.WebForms.PageRequestManagerServerErrorException: This version of MicrosoftAJAX does not offer the ScriptManager.RegisterClientScriptBlock method.
View 3 Replies
Aug 10, 2010
I have an application in which inside my aspx page i have an user control which gets loaded at runtime.Inside this user control I have collapsible panel extender from ajax toolkit for which i have inserted scriptmanager tag at the starting of user control.At run time I am getting an error only one instance of script manager can be added...though I have not added script manager in my aspx apge..
View 3 Replies
Mar 12, 2010
All my web applications are using AjaxControlToolkit 1.0 version. But I have one third party website that is using AjaxControlToolkit 3.5. When I run that third party website I got the following error.
The type 'AjaxControlToolkit.DropDownExtender' exists in both 'c:WINDOWSassemblyGAC_MSILAjaxControlToolkit3.5.11119.20050__28f01b0e84b6d53eAjaxControlToolkit.dll' and 'c:WINDOWSassemblyGAC_MSILAjaxControlToolkit1.0.20229.20821__28f01b0e84b6d53eAjaxControlToolkit.dll'
I do have assembly reference at server level web.config
<add assembly="AjaxControlToolkit, Version=1.0.20229.20821, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
View 9 Replies
Sep 22, 2010
the reason i posted this question is that i just added ajax toolkit in my visual studio 2005 and i installed ajax web extension version 1; downloaded from microsoft website named "ASPAJAXExtSetup" but when i added ajax object in my web form i ve gotten this error: "Error 1: Indirect reference is being made to assembly System.Web.Extensions version 3.5.0.0, which contains 'AjaxControlToolkit.CalendarExtender'. This Project references a prior version of System.Web.Extensions version 1.0.61025.0. To use 'AjaxControlToolkit.CalendarExtender', you must replace the reference to System.Web.Extensions with version 3.5.0.0 or higher. C:inetpubwwwrootAJAXEnabledWebSite1Default.aspx 1 1 C:...AJAXEnabledWebSite1"
is there any option to upgrade ajax web extension version 1 to upper without installing visual studio 2008 and .net 3.5? or any other solution?
View 5 Replies
Feb 25, 2011
My webpages is in asp.net 3.5 and i m using Ajax Toolkit 3.5 And i want to access these all page in share point master page but the problem is that the share point script manager and ajax script manger not supported to each other(Showing error).
View 1 Replies
Sep 24, 2010
I am a bit new to ASP.Net Ajax and as such new to Ajax itself. I have a site which uses ASP.Net Ajax. It used the version AjaxControlToolkit version 3.0.30512.0. I have now changed it to version 3.5.40412.2 by deleting the old reference and adding a reference to the latest one . I build the soultion and everything appears fine witjhout any errors. But the site fails to load showing a yellow page with the message AjaxControlToolkit Version="3.5.40412.2" missing reference to 'AjaxControlToolkit.ExtenderBase.Base Scripts.js.BaseScripts.js'. What does this mean ?
View 2 Replies
May 7, 2015
I have 3 table in database
1-state
Id state
1 USA
2 UK
2-City
Id name state
1 Canada USA
2 London UK
3-Region
Id regionname cityid
1 01 Canada
2 02 London
and I have 3 DropDownList that refer below thread [URL] ...
I use cascadingdropdown for these 3 dropdownlist below are codes:
AND
[WebMethod]
public CascadingDropDownNameValue[] GetCountries(string knownCategoryValues)
{
string query = "SELECT state FROM stateTest";
List countries = GetData(query);
return countries.ToArray();
}
[Code] ....
1-DDLstate
2-DDLcity
3-DDLregion
at first I should select Item from DDLsate then DDlcity and at the end I should select Item from DDLregion
above code work correctly for ddlstate and ddlcity but it doesn't work for ddlregion...
I mean when I select Item from ddlcity in ddlregion shows:[Metod error500]
View 1 Replies
Nov 3, 2010
I'm using ajax tool kit version 1.0.61214.0. My application is working fine in locally.But when i publish it to server, some pages show script error like
'Error: window.debug is undefined
Source File: http://server name/virtual directory/ScriptResource.axd?d=BoOwWOMbdZ0NTKRLPFlmapAwvOTsF5ybQVNY8WbDTRUBO6b9C1HjtFGo68m5YPI4r2aWxwL4qG-240z5helIdQ2&t=634230057813423350
Line: 107'
I noticed one thing, most of these error come from pages using ajaxtoolkit:AnimationExtender.
View 2 Replies
Sep 23, 2010
I was working on an asp.net 3.5 website and used ajaxtoolkit in it and when I use it in my page it was registered as below
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
and it was working well even After I upgraded my wevbsite to .net version 4 but when I started a new website from scratch in vs2010 using .net4 when I use ajax toolkit in this new site it is registered as folowing
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
and when I run the page I get the error The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>) I don't Know what is the reason for this. I noticed another thing. in my old website I was using thckbox script by using the files common.js, jquery-1.3.2.js,jquery.thickbox.js and puting them in a Javascript folder ad then registering them in Script manager as following
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Path="~/Javascript/jquery-1.3.2.js" />
<asp:ScriptReference Path="~/Javascript/jquery.thickbox.js" />
<asp:ScriptReference Path="~/Javascript/common.js" />
</Scripts>
</asp:ScriptManager>
this was working well also but in my new site the jquery file version was jquery-1.4.1.js but also I added the old version f the javascripts files in the built in Scripts folder that is created by default b the new site and followed the same way in registering them in the script managerchange the JavaScript folder to the built in folder Scripts
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Path="~/Scripts/jquery-1.3.2.js" />
<asp:ScriptReference Path="~/Scripts/jquery.thickbox.js" />
<asp:ScriptReference Path="~/Scripts/common.js" />
</Scripts>
</asp:ScriptManager>
but this doesn't work also in the new site I think that there is something diffirent in the 2 case which leads to this change in performance I wish your support and advice about how to solve this matter
View 4 Replies
Mar 7, 2010
I am trying to use an XML as a datasource in ASP and then display it as a datagrid. The XML has the following format:
<?xml version="1.0" encoding="UTF-8"?>
<people type="array">
<person>[code]....
When I try to run the simple page I receive the following error
Server Error in '/' Application.the data source for GridView with id 'GridView1' did not have any properties or attributes from which to generate columns. Ensure that your data source has content.
Here is my page code
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="shout._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[code]....
View 2 Replies
Apr 1, 2011
how remove dis Error
[Code]....
html Code
[Code]....
View 4 Replies
Feb 4, 2011
I'm working with the AJAXControlToolkit in an ASP.NET 3.5 application. I've got a textbox on the page to take the person's social security number, and I've put an masked edit extender and an masked edit validator, force the user to enter the whole SSN, but it doesn't work. I'm not sure what I'm doing wrong, or have left out. Here's the relevant code:
[Code]....
View 1 Replies
Aug 11, 2010
I have a solution I'm working on in VS2010 Professional, using ASP.NET 4.0 with the AJAX Toolkit.This has been working fine, but when I started it up today, I got the runtime exception shown above. This exception occurs on any page with a control from the toolkit.Sometimes when I load a page, I get an exception "Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, ublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified." If I then reload the page (without making any changes), I then get the exception shown in the subject line.I tried dragging an AJAX Toolkit control from the toolbox onto a page, and then deleting it, and that worked - once. The next time I tried the page (or any other), I got the exception again. Dragging a control out didn't help this time.
View 5 Replies
Mar 3, 2010
I am using AjaxControlToolkit.dll 1.0.20229. For compiling my code in my DotnetNuke module. When I compile our code and upload it on Server Dotnetnuke application which is having latest 3.x version of AjaxControlToolkit.dll. I get following error. I am not compiling my code to a specific version of AjaxControlToolkit.dll.......................
View 2 Replies
Feb 21, 2011
I am getting the below error when tryingn to do an Insert. Any words of wisdom would be great:
Input string was not in a correct format.
Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.FormatException: Input string was not in a correct format.
Source Error: [Code]....
I am using the ErrorLbl to capture any errors.
View 5 Replies
Aug 25, 2010
I have created an application which runs fine in VS2010.Now i am trying to host that application using inetmgr.When i try to browse the page from inetmgr content view then i get the "Parser Error Message: Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified".If i browse the page from VS i am able to do it.I am not able to host the app. may be the reason is the above stated error.
View 1 Replies
Sep 28, 2010
I have created a server control for my web page... I have decided to add an ajax popup extender (after creating the control, which builds and works fine.) After I add the AjaxControlToolKit reference I add the following:
[Code]....
I get this error when I add it:"The type 'System.Web.UI.ExtenderControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, "I googled the error and it says to add something inside the web config... I do not have a web.configfile inside the server control.
View 3 Replies
Aug 16, 2010
I am having a problem with ajaxcontroltoolkit 3.5. I am getting the following error
"Microsoft JScript runtime error: Sys.InvalidOperationException: The script 'Timer.js' has been referenced multiple times. If referencing Microsoft AJAX scripts explicitly, set the MicrosoftAjaxMode property of the ScriptManager to Explicit."
I have migrated ajax web app from 2.0 to 3.5 and have changed ScriptManager to ToolkitScriptManager.
View 4 Replies
Mar 10, 2011
I have a problem with the package manager. I can't install packages because the manager returns ann error with the link.
View 1 Replies
Feb 13, 2010
i have to use ajax update panel.and for using this i have to add script manager which is not available in asp.net 2.0.
View 8 Replies
Feb 25, 2011
When i compile my vs2008 solution which is a web application in debug mode i keep getting message box displayed which says that it cannot connect "whatever.designer.cs". Can
View 2 Replies