To get Ajax working on an ASP.Net website

I couldn't get Ajax working on this one particular ASP.Net website and after a lengthy search I found the fix here http://geekswithblogs.net/influent1/archive/2007/05/16/112544.aspx.  I had to add this to the web.config:
<system.web> 
    <pages> 
      <controls> 
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
      </controls> 
    </pages> 
</system.web>

No comments:

Post a Comment