BT

Ajax Control Toolkit Adds jQuery Support, Updated Twitter API Control and Improved Documentation

by Anand Narayanaswamy on Oct 10, 2013 |

The recently released Ajax Control Toolkit provides support for jQuery and introduces a new jQueryExtender base class, which enables you to create Ajax Control Toolkit controls with jQuery instead of the Microsoft Ajax Library. The Ajax Control Toolkit has been rewritten to support jQuery to enable developers to leverage features such as automatic bundling,
minification, caching, and compression. As of the time of this writing, only ToggleButton control in the Ajax control toolkit has been rewritten to take advantage of the new jQueryExtender base class.

"All of the other controls in the Ajax Control Toolkit are written using the Microsoft Ajax Library. We hope to gradually rewrite these controls as jQuery controls over time," said Stephen Walther, Microsoft Software Legend and Program Manager, ASP.NET.

The advantage of using jQuery with Ajax controls is that there is no need to enclose the code inside <script> tag. Moreover, you need not have to call $create() method. For instance, the ToggleButton control is instantiated with a data-act-togglebuttonextender attribute, which in turn produces clean markup.

According to Stephen, Ajax Control Toolkit controls run on both the server and client, provides rich Visual Studio experience. Moreover, there is no need to work with JavaScript.

The latest release of Ajax Control Toolkit includes an improved documentation which describes the usage of ToolkitScriptManager and examines the new bundling, minification, compression and caching features of the Ajax Control Toolkit.

The Ajax Toolkit also includes an updated Twitter control that takes advantage of the new Twitter API since API v1 is slated to be retired soon.In order to make use of the new Twitter API, you should get a key, access token from Twitter, add the key and token to your web.config file.

Hello stranger!

You need to Register an InfoQ account or to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2013 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT