ASP.NET Ajax and Community Server

I decided I wanted to use some features from ASP.NET Ajax and the AjaxControlToolkit in my Community Server install.  It was actually relatively simple.  Here's what I did:

  1. Download and install ASP.NET Ajax
  2. Download and build the AjaxControlToolkit.  Install AjaxControlToolkit.dll to GAC (copy to c:\WINDOWS\assembly, or use gacutil /i).
  3. Create a new ASP.NET Ajax WebSite in Visual Studio.
  4. Grab everything from the web.config in the new WebSite.
  5. Merge into web.config in Community Server.
  6. Add the following to the web.config:
<pages>
    <controls>
        <add tagPrefix="AJAX" namespace="System.Web.UI" 
            assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        <add tagPrefix="AJAXKIT" namespace="AjaxControlToolkit" 
            assembly="AjaxControlToolkit, Version=1.0.10201.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>
    </controls>
</pages> 

It really was that simple.  I was able to add a ScriptManager to my master page as required by ASP.NET Ajax and then I was able to add AjaxControlToolkit controls to my page and they just worked.  If you notice the 'Blog Actions' area on the right - you can click it and it will expand.  This is the CollapsiblePanelExtender from the AjaxControlToolkit at work.

(Although this site doesn't quite work with Firefox yet...)

Comments

Rajesh said:

--

June 4, 2007 4:54 AM

Leave a Comment

(required )  
(optional )
(required )  

Enter the numbers above:
Add Comment