BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

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

| by Anand Narayanaswamy Follow 0 Followers on Oct 10, 2013. Estimated reading time: 1 minute |

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.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login 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

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT