Home > Microsoft .Net Development News > ASP.NET AJAX Control Toolkit promotes easy Web plug-ins
Microsoft .Net Development News:
EMAIL THIS

ASP.NET AJAX Control Toolkit promotes easy Web plug-ins

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

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

ORLANDO -- Effective Ajax development means knowing know when to avoid the technology as much as it means knowing when to implement it. Think back several years, to the days of minute-long, browser-breaking multimedia introductions to Web sites, and the consequences are not hard to imagine.

One way to encourage developers to sidestep such behavior is to provide controls that plug right into existing applications and also provide functionality that clearly and immediately benefits end users.
You can take whatever we've done, source code included, and use it in your Web site however you want.
David Anson
ASP.NET AJAX Control Toolkit developer, Microsoft

That is one aim of Microsoft's ASP.NET AJAX Control Toolkit. The toolkit works alongside ASP.NET AJAX, the framework Microsoft has developed for adding Ajax to ASP.NET 2.0 applications.

Both the framework and the toolkit are free on CodePlex. Source code is available as well. The intention, according to David Anson, one of the Microsoft developers who works on the ASP.NET AJAX Control Toolkit, is promoting a sense of community involvement.

"You can take whatever we've done, source code included, and use it in your Web site however you want. Feel free to go right ahead," Anson said at the DevConnections conference here in Orlando.

Anson illustrated his point by calling up an ASP.NET 2.0 application -- in this case a photo browsing app -- and, in a 15-minute span, adding several different ASP.NET AJAX controls to it.

First he used the UpdatePanel, which uses an XMLHTTP request to perform a "behind-the-scenes" postback. Then he added a TextBox Watermark (to let users know where to enter a search term), a HoverMenu (a Web service displaying data about each photo), and an UpdatePanel animation (so users would know the page was loading).

"Suddenly this is quite a bit more interactive and informative as well," Anson said. "That was pretty nice and we didn't have to change our site very much."

The ASP.NET AJAX Control Toolkit contains about three dozen controls and extensions. Developers can also roll their own, with the aid of templates for toolkit-enabled sites, for component projects and for components themselves. Templates are written in both Visual Basic and C#.

When writing custom components, Anson said controls work best for very specific HTML shapes, such as accordion tabs, while extenders are best for simpler shapes, such as TextBoxes.
More on the ASP.NET AJAX Control Toolkit
With Microsoft's Atlas toolkit, no wait for Ajax controls

The toolkit and its templates have another aim besides the spirit of shared-source development. Microsoft does not want developers to have to learn JavaScript.

"The goal is to not require JavaScript skills for any basic scenarios," he said. "As a page designer, you can just pull things over."

Of course, developers are free to hard-code JavaScript if they want additional extensibility.

Tags: ASP.NET and Ajax developmentVIEW ALL TAGS

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



RELATED CONTENT
ASP.NET and Ajax development
How to use jQuery to solve Javascript browser compatibility problems
Silverlight, Ajax components require different approach to UI
Visual Studio's IntelliSense for jQuery doesn't autocomplete correctly
Internet Explorer 8 beta's development tools add source visualizations
Microsoft PDC gives a taste of Windows 7, Visual Studio 2010
Widgetbox provides good example of how to use Facebook Developer Toolkit
VBScript Tutorial
Ajax Learning Guide
Mainsoft introduces .NET-to-Java translation tool
Ajax.NET Professional retired

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



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

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




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