Friday, December 12, 2008

Response.Redirect in UpdatePanel Ajax

Sometimes we have to use the Response.Redirect function in a UpdatePanel... But in most cases this function give an error. Usually, it's 'cause a bit of configuration is missing, in web.config
So, if we add


<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>


all works fine.

No comments: