Home > Microsoft .Net Development News > Making ASP.NET AJAX and SharePoint 2007 work together
Microsoft .Net Development News:
EMAIL THIS LICENSING & REPRINTS

Making ASP.NET AJAX and SharePoint 2007 work together

By Brian Eastwood, Site Editor
27 Feb 2007 | SearchVB.com

Office Development Channel
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google

ASP.NET AJAX promises to usher in the next generation of Web applications. SharePoint 2007 is touted as a top tool for enterprise collaboration and content management.

For even the mildly curious, this begs a question: Can ASP.NET AJAX and SharePoint 2007 work together? For now, the answer is "Yes, but…" with a few caveats.
More on SharePoint 2007
What SharePoint 2007 means for content management

The possibilities, wrote Mike Ammeraan in a blog entry called Integrating ASP.NET AJAX with SharePoint, include more powerful JavaScript libraries, Web services rendering through JSON (JavaScript Object Notification), and interactive parts.

The catch? Official SharePoint support for ASP.NET AJAX will only arrive with SharePoint 2007 Service Pack 1, Ammeraan said. This is because Microsoft shipped SharePoint 2007 while ASP.NET AJAX was still in beta. (Mary Jo Foley reports that Vista SP1 should arrive by the end of 2007.)

The lack of a Service Pack, though, need not deter developers from integrating the two technologies now, Ammerann noted. Such an integration requires three steps -- installing ASP.NET AJAX onto your server farm, extending SharePoint's web.config files and adding the ASP.NET AJAX Script Manager into your master page. Ammerann provides instructions for all three steps, along with a hint for making the Update Panel work inside SharePoint 2007.

Meanwhile, development tools for integrating ASP.NET AJAX and SharePoint 2007 are beginning to emerge in the blogosphere.

Eric Schoonover has created a base class called AjaxBasePart, which "custom MOSS [Microsoft Office SharePoint Server] Web parts can derive from and fully enables all AJAX Extensions functionality within MOSS." Additional information about AjaxBasePart, and its source code, can be found in Schoonover's blog entry, AjaxBasePart: Easy ASP.NET 2.0 AJAX Extensions 1.0 and Office SharePoint Server 2007.
More on ASP.NET AJAX
ASP.NET AJAX Learning Guide

Tip Series: Get started with ASP.NET AJAX development: Part 1  |  Part 2  |  Part 3

Jan Tielens has created a SmartPart, or SharePoint Web part, which allows developers to use ASP.NET AJAX extensions inside a Web User Control and run that control as a SharePoint Web part. Put simply, the SmartPart lets you build Ajax-style controls for SharePoint. This add-in, still in beta, can be downloaded from the SmartPart for SharePoint page on GotDotNet, and additional information and demos are available on Tielens' blog entry, SmartPart for SharePoint -- ASP.NET AJAX Support.

Daniel Larson has created the SharePoint Ajax Toolkit, which comes with SharePoint Solution Package based installer, a Refresh interval programmed into an XMLWebPart and a core framework.

Finally, Tielens offers some quick hints for using the ASP.NET AJAX Control Toolkit with SharePoint 2007.

Tags: .NET Architecture Best PracticesASP.NET and Ajax developmentSharePoint Server and .NET developmentVIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google




Development Solutions - Silverlight, WinForms, ASP.NET
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts