Home > Microsoft .Net Development Tips > ASP.NET Development > Beginning ASP.NET AJAX development, Part 1
Win Development Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ASP.NET DEVELOPMENT

Beginning ASP.NET AJAX development, Part 1


Brian Eastwood, Site Editor
08.18.2006
Rating: --- (out of 5)


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


As ASP.NET AJAX continues to grow in both scope and popularity, tutorials and best practices are emerging as well. To help develop new skills or hone existing ones, here we have compiled some recent tips, bits of advice and downloads for working with Microsoft's Ajax technology.

A good starting point is the MSDN article ASP.NET Atlas Powers the AJAX-Style Sites You've Been Waiting For by Matt Gibbs of the ASP.NET team. Gibbs explains the difference in client-server interaction between traditional; Web applications and Ajax-enabled apps. It also covers the ASP.NET AJAX client script library -- which makes it easier for .NET developers to work with JavaScript -- as well client script controls and server controls.

A second MSDN article -- which actually fits into a four-part series on role management in ASP.NET 2.0 apps -- provides a nice synopsis for incorporating Atlas into an existing application. Consultant Peter Kellner writes about two techniques in Microsoft ASP.NET 2.0 Member/Role Management with IIS, Part 3: AJAX Enhancements with Microsoft Atlas:

[C]opy in the Atlas script library, modify your web.config, add the atlas dll to your project and, finally, add some initializing tags in your aspx pages.

The other way to begin working with Atlas…is this. [C]reate a new Web project using the newly installed Atlas template. Next, rename the default.aspx file in case you have your own, then copy in all your existing libraries and pages. Finally, add your sections to the Atlas-enabled web.config file and make sure everything works as before with no Atlas functionality. The final step is to look at the original default.aspx file and copy the Atlas constructs into the headers of an existing page to which you want to add AJAX capabilities.

Once you understand the basics, it's time to take the technology for a test drive. ASP.NET AJAX is available as a free download, and there's also an ASP.NET AJAX Control Toolkit, which offers a variety of ready-made controls and components, from cascading drop-down menus and collapsible panels to TextBox watermarks and rounded corners. In addition, there are controls and templates for writing your own Atlas extenders.
More on ASP.NET AJAX
Reference: Mini-Guide: Microsoft Atlas 

News: With Microsoft's Atlas toolkit, no wait for Ajax controls 

Commentary: Mike Gunderloy on Atlas: Think before you lift 

From Scott Guthrie: More Atlas Resources (Videos, Articles, WebCasts and Books)

The ASP.NET AJAX Control Toolkit currently contains more than 20 components. Microsoft aims to continue updating it regularly, with its own work as well as that of outside developers, but odds are it will represent just the tip of the iceberg when it comes to Web application functionality. Thus bloggers are beginning to post their own Atlas add-ins.

Over on the Code Project, Ahmed Saeed has posted code for an ASP.NET DropDownList that includes shape names and an image control. Select the shape name "circle" and a circle will appear. Read about this application here.

A second sample comes from Shiju Varghese, who writes about and provides sample code for drag and drop controls as well as opacity, fading and time limits in animation, which comes from the AtlasUIGlitz JavaScript library. Check out Varghese's blog entry here.

There is also the Focus extender, which allows developers to set the input focus to a particular control on a Web form. It was written by Chris Crowe and can be seen here.

Rate this Tip
To rate tips, you must be a member of SearchWinDevelopment.com.
Register now to start rating these tips. Log in if you are already a member.




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


RELATED CONTENT
ASP.NET Development
Dundas Map for .NET kicks up geographic visualization
Return to CodePlex: Into the Sandcastle…
VBScript Tutorial
Use PHP with Visual Studio to create Web sites
Visual Studio Team System Add-ins: Conchango Scrum for Team System and Scrum Dashboard
Visual Studio 2008 and .NET Framework 3.5 SP1 introduces ADO .NET Entity Designer
XAML as an everywhere presentation format
Introduction to Silverlight 1.0: Building your first Silverlight application
Creating custom ASP.NET 2.0 profile providers
Book excerpt: Silverlight 1.0 explained

ASP.NET and Ajax development
VBScript Tutorial
Ajax Learning Guide
Mainsoft introduces .NET-to-Java translation tool
Ajax.NET Professional retired
Visual Studio 2008 Learning Guide: JavaScript IntelliSense
Five common Ajax security challenges and how to address them
On ASP.NET AJAX testing and debugging tools
JSON (Javascript Object Notation)
Gaia Ajax Widgets adds controls, documentation
The Ajax Experience: Explore Ajax in its many forms

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Ajax  (SearchWinDevelopment.com)
Atlas  (SearchWinDevelopment.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

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