Wednesday, August 26, 2009

AJAX in MOSS Master pages

Hi,

The procedure is very simple to add <asp:scriptmanager> in Moss master pages.
  1. Add assembly info in SafeControls tag of the respective web.config. If this needs to used across the server farm, then enter in Machine.config. (** not recommended.)
  2. Register assembly in the master page headers before tag.
  3. <%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" Namespace="System.Web.UI" TagPrefix="asp" %>
  4. Add the following after the form tag in body tag.

That's it. You are ready for AJAX development in MOSS.

~ Gangadhar Kotu

No comments: