Ajax,Silverlight working in Sharepoint 2007

Hi,
If you wan to work Ajax, like update pannel and silverlight will working in the sharepoint 2007. you need to follow the following steps.
After ASP.NET 3.5 has been installed you need to modify the web.config file of your MOSS web site with a few Ajax specific entries. Typically, the web.config file is located in c:\inetpub\wwwroot\wss\virtualdirectories\80 1. Add the following element in the tag: CopyXML

;

;
;
;
;



2. Add the following section as a child of the / tag: CopyXML



3. Add the following tag to the tag, within the element: CopyXML



4. Register the following HTTP handlers at the end of the section: CopyXML


5. Add the following HTTP module registration to the section beneath any existing modules: CopyXML
6. Add a SafeControl entry for the System.Web.UI namespace from the System.Web.Extensions assembly within the / section: CopyXML Namespace="System.Web.UI.SilverlightControls" TypeName="*" Safe="True" />
Namespace="System.Web.UI" TypeName="*" Safe="True" />;
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 section.CopyXML







8. Finally, add the following configuration tags at the bottom of web.config, just before the end of the tag: CopyXML









type="System.Web.Handlers.ScriptModule,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>;






preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
path="*_AppService.axd"
preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
verb="GET,HEAD" path="ScriptResource.axd"
type="System.Web.Handlers.ScriptResourceHandler,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" />



Finally you need to add this script into aspx or ascx page then only the page will work!!!!


Comments