Skip to main content

Developer's Guide to Windows SharePoint Services 3.0

Go Search
Home
  
Developer's Guide to Windows SharePoint Services 3.0 > Errata > Chapter12  

Chapter12

 

page 337ff                                                                                                                                                                 

I haven't had a chance to test out the ASP.NET AJAX code since it was RTW. Apparently, there have been a few changes. Scott Hillier was kind enough to share the things that he had to change in my instructions to make it work:

 

1. Change Microsoft.Web.Extensions.dll to System.Web.Extensions.dll in several places on page 337.

 

2. WebMethod no longer needs the ScriptMethod attribute.

 

3. The System.Web.Extensions entry is not needed in the SharePoint Web.config file.

 

4. Two entries to the SharePoint web.config file are required (below): 

 

<httpHandlers>

<!-- Added for AJAX -->

<add verb="GET,HEAD" path="ScriptResource.axd"

type="System.Web.Handlers.ScriptResourceHandler,

System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/> </httpHandlers>

 

<httpModules>

<!-- Added for AJAX -->

<add name="ScriptModule" type="System.Web.Handlers.ScriptModule,

System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

</httpModules>

 

5. A second argument to the JavaScript function "handleResponse" is now required. Apparently, it expects two arguments now.

 

HTH,

 

<Todd />

Last modified at 2/18/2007 6:47 AM  by Todd Bleeker