Use older releases of Ajax Control Toolkits that was released for .NET 2.0, such as this first downloadable release from ajaxcontroltoolkit.codeplex.com
Use older releases of Ajax Control Toolkits that was released for .NET 2.0, such as this first downloadable release from ajaxcontroltoolkit.codeplex.com
Description: An
error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Unknown server tag 'asp:ToolkitScriptManager'.
Source Error:
Line 19: <form id="form1" runat="server">
Line 20: <div id="dvProgress">
Line 21: <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
Line 22: </asp:ToolkitScriptManager>
Line 23: <asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="1500">
Source File: /ver2/default.aspx Line: 21
Version Information: Microsoft .NET Framework Version:2.0.50727.3643; ASP.NET Version:2.0.50727.3634
Server Error in '/ver2' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Unknown server tag 'asp:ToolkitScriptManager'.
Source Error:
Line 15: </div>
Line 16: <div id="dvProgress">
Line 17: <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
Line 18: </asp:ToolkitScriptManager>
Line 19: <asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="1500">
Source File: /ver2/______OldFiles/wait.aspx Line: 17
Version Information: Microsoft .NET Framework Version:2.0.50727.3643; ASP.NET Version:2.0.50727.3634
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class ______OldFiles_wait : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
ferrymeidian...
Member
500 Points
126 Posts
Re: Net 2.0 vs ajax
Jan 05, 2013 09:11 AM|LINK
Use older releases of Ajax Control Toolkits that was released for .NET 2.0, such as this first downloadable release from ajaxcontroltoolkit.codeplex.com
http://ajaxcontroltoolkit.codeplex.com/releases/view/1425
Regards,
Ferry Meidianto
www.meidianto.com
cms9651
Member
176 Points
580 Posts
Re: Net 2.0 vs ajax
Jan 05, 2013 10:18 AM|LINK
thank you.
I download and extracted this file http://ajaxcontroltoolkit.codeplex.com/releases/view/1425
I add the AjaxControlToolkit.dll version 1.0.10301.0 reference in my project, not error.
I add in my web.config:
<controls> <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit"/> </controls>I open this aspx page in the browser:
<form id="form1" runat="server"> <div id="dvProgress"> <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> </asp:ToolkitScriptManager> <asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="1500"> <progresstemplate> <asp:Image ID="Image1" runat="server" ImageUrl="/images/ajax-loader.gif" /> </progresstemplate> </asp:UpdateProgress> </div> </form>This is th error, can you help me?:
Server Error in '/ver2' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Unknown server tag 'asp:ToolkitScriptManager'.
Source Error:
Line 19: <form id="form1" runat="server"> Line 20: <div id="dvProgress"> Line 21: <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">Source File: /ver2/default.aspx Line: 21
Version Information: Microsoft .NET Framework Version:2.0.50727.3643; ASP.NET Version:2.0.50727.3634
ferrymeidian...
Member
500 Points
126 Posts
Re: Net 2.0 vs ajax
Jan 06, 2013 03:15 AM|LINK
Use a higher release version: 10606
http://ajaxcontroltoolkit.codeplex.com/releases/view/1813
that's when the ToolkitScriptManager first released.
Regards,
Ferry Meidianto
www.meidianto.com
cms9651
Member
176 Points
580 Posts
Re: Net 2.0 vs ajax
Jan 06, 2013 09:15 AM|LINK
thank you, but don't resolve my problem with this link http://ajaxcontroltoolkit.codeplex.com/downloads/get/13700:
web.config
<controls> <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit"/> </controls>.cs
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class ______OldFiles_wait : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } }.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="wait.aspx.cs" Inherits="______OldFiles_wait" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div class="modalPopup" style="text-align: center; vertical-align: middle; position: absolute; top: 25%; left: 25%;" id="dvProgress2" runat="server"> Please wait.... <asp:Image ID="Image2" runat="server" ImageUrl="/_aspx/WebApplication1/images/spinner4-greenie.gif" /> </div> <div id="dvProgress"> <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> </asp:ToolkitScriptManager> <asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="1500"> <progresstemplate> <asp:Image ID="Image1" runat="server" ImageUrl="/_aspx/WebApplication1/images/spinner4-greenie.gif" /> </progresstemplate> </asp:UpdateProgress> <div> </div> </form> </body> </html>oned_gk
All-Star
31834 Points
6517 Posts
Re: Net 2.0 vs ajax
Jan 06, 2013 10:21 AM|LINK
Try use script manager (not toolkit script manager)
cms9651
Member
176 Points
580 Posts
Re: Net 2.0 vs ajax
Jan 06, 2013 11:04 AM|LINK
thank you very much, now working!
works even if in my .aspx page I have this message:
Why?
.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="wait.aspx.cs" Inherits="______OldFiles_wait" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <style type="text/css" runat="server" id="css"> body { } .modalProgressGreyBackground { background: #CCCCCC; filter: alpha(opacity=60); opacity: 0.6; } .modalProgressRedBackground { background: Red; filter: alpha(opacity=60); opacity: 0.6; } .modalPopup { text-align: center; padding-top: 30px; border-style: solid; border-width: 1px; background-color: White; width: 300px; height: 100px; } .ModalProgressContainer { z-index: 10005; position: fixed; cursor: wait; top: 0%; background-color: #ffffff; filter: alpha(opacity=50); opacity: 0.5; -moz-opacity: .5; height: 100%; width: 100%; text-align: center; } .ModalProgressContent { padding: 10px; border: solid 0px #000040; font-weight: bold; background-color: #ffffff; margin-top: 300px; } .loading { position: absolute; width: 200px; height: 100px; left: 300px; top: 180px; z-index: 1; background-color: #6B718B; font: 40px Arial, Helvetica, sans-serif; color: #ffffff; padding: 20px; } .modalBackground { background-color: #CCCCFF; opacity: 0.5; filter: alpha(opacity=40); } </style> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function () { $('div[id$=dvProgress2]').fadeIn(1500).delay(2000).fadeOut(1500); $('div[id$=dvProgress]').delay(2000).fadeIn(1500); }); </script> </head> <body onload="dvProgress.style.display = 'none';"> <form id="form1" runat="server"> <div class="modalPopup" style="text-align: center; vertical-align: middle; position: absolute; top: 25%; left: 25%;" id="dvProgress2" runat="server"> Please wait.... <asp:Image ID="Image2" runat="server" ImageUrl="/ver2/images/spinner4-greenie.gif" /> </div> <div id="dvProgress"> <asp:ScriptManager ID="ScriptManager" runat="server"> </asp:ScriptManager> <asp:DataList ID="PleaseWait" runat="server"> <ItemTemplate> <b> <asp:Label ID="lblDate" runat="server" Style="text-transform: uppercase" Text='<%# Eval("myDate", "{0:ddd, dd MMMM yyyy}") %>'></asp:Label></b> </ItemTemplate> </asp:DataList> </div> </form> </body> </html>.cs
using System; using System.Configuration; using System.Data.Odbc; public partial class ______OldFiles_wait : System.Web.UI.Page { OdbcConnection conn = new OdbcConnection(ConfigurationManager.ConnectionStrings["cs"].ConnectionString); string SQL; protected void Page_Load(object sender, EventArgs e) { conn.Open(); SQL = "SELECT * FROM TBL_CLIK ORDER BY ID DESC LIMIT 4; "; OdbcCommand cmd = new OdbcCommand(SQL, conn); PleaseWait.DataSource = cmd.ExecuteReader(); PleaseWait.DataBind(); cmd.Dispose(); cmd = null; conn.Close(); conn.Dispose(); } }chetan.sarod...
All-Star
65839 Points
11163 Posts
Re: Net 2.0 vs ajax
Jan 07, 2013 01:57 AM|LINK
Hi,
Make sure you install the correct version of the AjaxControlToolkit:
Version 3.0.20229 2008-02-29 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 and Visual Studio 2008.
Version 1.0.20229 You can also download the Toolkit for .NET Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.
Version 3.0.40412
April 12, 2010 release of the AJAX Control Toolkit for ASP.NET 3.5 Service Pack 1 and Visual Studio 2008 SP1.
Version 4.1.51116.0
Nov 16 2011 release of the AJAX Control Toolkit for ASP.NET 4.0 and Visual Studio 2010
Version 4.1.60919
September 2012 release of the AJAX Control Toolkit for ASP.NET 4.5 and Visual Studio 2012
Then you could add the Ajax Control Toolkit to the VS Toolbox step by step at:http://www.asp.net/ajaxlibrary/act.ashx
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.