Posted by Alec on Wed, 12 May 2010, in ASP.NET C# Sharepoint
I had the problem of page not able to redirect when in an ajax postback. It happens to be the fact that I disabled a line in web.config:<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />. This line should be added in HttpModules, so that redirection will work in Ajax postback. This class manages HttpModules for Ajax functionalities in ASP.NET.