Both methods calls Response.End method internally ends the page execution. Then executes Application_EndRequest event in the application's event pipeline and hence the line of code that follows Response.End is not executed which is raising the exception.To overcome this just disable Response.End in both methods as follows :-Server.Transfer(Request.FilePath);Response.Redirect(Request.FilePath);toServer.Execute(Request.FilePath);Response.Redirect(Request.FilePath,false);Computers...
public string aboutme {
var known = { { "C#" , "Javascript" }, { "ASP.NET", "MVC" } };
return known.ToJson();
}
Thursday, 26 August 2010
Monday, 16 August 2010
Ajax Control Toolkit 3.5 : The script 'Timer.js' has been referenced multiple times.
Developed a website using Fast ASP.NET Web page loading by downloading multiple JavaScripts after visible content and in batch using .NET 2.0, Ajax 1.0 and Ajax Control toolkit. After migrated to .NET 3.5 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...
Labels:
ASP.NET Ajax
Migrating Web application from .NET 2.0 with Ajax 1.0 to .NET 3.5
Migrating a web application developed in .NET 2.0, Ajax 1.0 and Ajax control tool kit 2005 to .NET 3.5 is quite simple following below steps :-1. Open the solution using Visual Studio 2008 (this is migrate automatically all the projects in the solution and will update the references accordingly.2. Remove the reference to Ajax control toolkit 2.0 and add the new reference to ajax control toolkit 3.5.3. Since Ajax control toolkit...
Labels:
ASP.NET Ajax
Subscribe to:
Posts (Atom)