Welcome to MSDN Blogs Sign in | Join | Help

ASP.NET AJAX Support in WSS 3.0 and MOSS 2007 SP1

I was doing some searches for SP1 and noticed a number of references with anticipation for SP1 awaiting the big occasion.

<update 12/11/07>  With the release of WSS and MOSS SP1 a number of new articles are available in the SDK.  Snipped from Andrew May's SharePoint Development Update post

New conceptual sections and topics that detail new features in Windows SharePoint Services 3.0 SP1 include:

·      ASP.NET AJAX in Windows SharePoint Services

This section provides overview information, installation instructions, and programming examples that introduce you to how Microsoft ASP.NET AJAX interacts with Web Parts. Topics include:

·         Overview: ASP.NET AJAX and Web Parts in Windows SharePoint Services 3.0

·         Installing ASP.NET 2.0 AJAX Extensions 1.0 in Windows SharePoint Services Version 3.0

·         Walkthrough: Creating a Basic ASP.NET AJAX-enabled Web Part

</update>

Here's a couple of older references: ASP.NET AJAX and SharePoint 2007 work together. Fitz even mentioned it a year ago in a post he did called Using ASP.NET AJAX in SharePoint sites: Tread lightly for now

There have even been a couple of posts in anticipation of support on the team blog and Mike Ammerlaan's blog on how to configure your SharePoint Server for ASP.NET AJAX including integration and performing the necessary installs and changes to your SharePoint Server and changes to the web.config to support ASP.NET AJAX Extensions.

The SharePoint team blog has a preview of the information in SP1 that mentions that ASP.NET AJAX and creating custom web parts with the toolkit and extensions will be supported at SP1.  "You can now use the Microsoft AJAX 1.0 Control toolkit for Microsoft ASP.NET or the AJAX 1.0 Extensions for ASP.NET to create Web Parts for asynchronous post pack.  Beginning with WSS 3.0 SP1 and MOSS 2007 SP1, developers can create custom Web Parts using AJAX."  KB 941955 with a long title of "A Web Part that contains an ASP.NET AJAX 1.0 UpdatePanel control that uses the _doPostBack() function does not work when the URL of the hosting SharePoint Web site contains international characters." This KB has a great workaround to prevent the a regular postback request occurs instead of an asynchronous ASP.NET AJAX postback request.

The KB above includes code to add an UpdatePanel control to a Web Part and also uses the EnsureUpdatePanelFixups method to register the Script Manager control in the web part. Without the work around some caching of form actions and conflicts may occur.

Although you won't find any new ASP.NET AJAX in the features in the box, support for ASP.NET AJAX custom web parts does sound exciting to me. 

If you're looking to build AJAX Solutions on SharePoint don't miss the codeplex solution referred to as the SharePoint AJAX Toolkit by Daniel Larson SharePoint MVP

Adam Buenz SharePoint MVP created a web part which rotates a list in a free AJAX SharePoint list rotator web part.  Good chance to get your feet wet.  I also like that he puts it in a solution deployment package WSP file.  Good practice. :)

Get ASP.NET 2.0 AJAX Extensions 1.0 at http://ajax.asp.net/

Published Thursday, November 29, 2007 11:20 PM by joelo
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Free People Searches &raquo; ASP.NET AJAX Support in WSS 3.0 and MOSS 2007 SP1

Friday, November 30, 2007 7:29 PM by Rico Ho

# re: ASP.NET AJAX Support in WSS 3.0 and MOSS 2007 SP1

We have been using AJAX since beta and I am glad to say that it works. To date we have built many webparts that uses AJAX. It makes a big difference in terms of user experience and performance. Check out our site: http://www.webparts360.com and you will see many instances of AJAX at work!

Monday, December 03, 2007 4:55 AM by Zlatan

# re: ASP.NET AJAX Support in WSS 3.0 and MOSS 2007 SP1

Hi,

I've also posted a variation on Mike Amerlaan's example that uses a timer control with update panel instead of a click event, which easily allows for building "rotator web part" functionality like the example from Adam Buenz (just iterate through the splist on every timer interval).

This example contains the source code.

Here's the link:

http://dotnet.org.za/zlatan/archive/2007/10/12/developing-ajax-web-parts-in-sharepoint-2007.aspx

Thanks,

Zlatan

Tuesday, December 04, 2007 3:58 PM by Musquatsch

# re: ASP.NET AJAX Support in WSS 3.0 and MOSS 2007 SP1

Hi,

great thing.

But was it whith enhanced (full)browser support for other brothers than IE ? Will be AJAX support in this case the solution?

Thanx.

The Musquatsch

Wednesday, December 05, 2007 9:42 AM by joelo

# re: ASP.NET AJAX Support in WSS 3.0 and MOSS 2007 SP1

Musquatsch,

Think of support of Ajax in SharePoint, as now you can use it and call product support if you have issues with your deployment.  This isn't an enhancement to Ajax within SharePoint or of new enhancements to Ajax itself.

Wednesday, December 12, 2007 10:59 AM by SharePoint Developer

# SharePoint関連のSP1リリースされました

すでに方々で話題になっているので皆さんご存知かと思いますが、12/12に突然Office 2007 Client及びServerのService Pack1とWSS 3.0のService Pack1がリリースされました。

Tuesday, January 08, 2008 10:24 AM by saidi

# re: ASP.NET AJAX Support in WSS 3.0 and MOSS 2007 SP1

Plz help me in webpart communication with Ajax updatepanels.

I need this functionality in our project.

Plz help me.

Wednesday, January 30, 2008 12:38 PM by Craig Neuwirt

# re: ASP.NET AJAX Support in WSS 3.0 and MOSS 2007 SP1

Is it possible to use the ModalPopupExtender with SharePoint.  It seems to depend on a more standards compliant DOCTYPE which messes up the normal sharepoint layout?

Thursday, December 11, 2008 10:12 PM by Steven Cheng's MSDN Notes

# [WSS]WSS V3 Custom WebPart Features Gothrough

[WSS]WSS V3 Custom WebPart Features Gothrough Windows Sharepoint Service V3 is built upon ASP.NET 2.0

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker