天天看点

Extending your SharePoint 2007 site with Microsoft ASP.NET AJAX 3.5

After <b>ASP.NET 3.5</b> has been installed you need to modify the

<b>web.config</b> file of your MOSS web site with a few Ajax specific

entries. Typically, the web.config file is located in

<b>c:\inetpub\wwwroot\wss\virtualdirectories\80</b>

1. Add the following <b>&lt;sectionGroup&gt;</b> element in the

<b>&lt;configSections&gt;</b> tag:

2. Add the following <b>&lt;controls&gt;</b> section as a child of the

<b>&lt;system.web&gt;/&lt;pages&gt;</b> tag:

3. Add the following tag to the <b>&lt;assemblies&gt;</b> tag, within

the <b>&lt;compilation&gt;</b> element:

4. Register the following HTTP handlers at the end of the

<b>&lt;httpHandlers&gt;</b> section:

5. Add the following HTTP module registration to the

<b>&lt;httpModules&gt;</b> section beneath any existing modules:

6. Add a SafeControl entry for the System.Web.UI namespace from the

System.Web.Extensions assembly within the

<b>&lt;SharePoint&gt;/&lt;SafeControls&gt;</b> section:

7. Since the RadEditor dll files, which are in the wsp package, are

complied for .NET 2.0 framework, you need to add the following code to the

&lt;runtime&gt;&lt;assemblyBinding&gt; section.

8. Finally, add the following configuration tags at the bottom of

web.config, just before the end of the <b>&lt;configuration&gt;</b> tag: