09 April 2009

AJAX Tags for SharePoint Web.Config


OPTIONAL: ADD SUPPORT FOR ASP.NET AJAX
1. Add a element to the tag:













2. Add a section as a child of the / tag.






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





4. Add some new registrations to the end of the section:







5. Add a new registration to the HttpModules section, beneath any existing registrations.






6. Add a SafeControl entry for the System.Web.UI namespace from Microsoft Ajax Extensions, within the /section:





7. add the following configuration tags at the bottom of web.config, near the bottom before the end tag.



















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




Adding a ScriptManager into a SharePoint MasterPage
Open up the master page for your site. Typically, this will be located at /_catalogs/masterpage. You can edit this file by opening it in an editor such as Microsoft SharePoint Designer, or directly in Notepad by opening your master page library via DAV (typically \\server\\_catalogs\masterpage.) 1) Add the following into the markup of your page. A recommended location is right beneath the WebPartManager registration (search for ):

2) Add following Script block in master page


No comments:

Post a Comment

Thanks for your valuable comments

Rate Now: