jQuery & MicrosoftAjax “happy together”

I’ve been using jQuery quite a bit lately.  I’ve grown very fond of it.  At the same time, I have been digging into ASP.NET AJAX 4.0.  I just read a post from Bertand Le Roy that made me smile.  In his post, he shows how you can do the following:

<ul class="dv">
    <li>{{ $dataItem }}</li>
</ul>
<script type="text/javascript">
   1:     $(".dv").dataView({ data: ["foo", "bar", "baz"] });
</script>

To me, being able to instantiate a DataView control using the jQuery plugin syntax is PRETTY COOL!  Check out the details of how all this works and download the sample at:

http://weblogs.asp.net/bleroy/archive/2009/05/04/creating-jquery-plug-ins-from-microsoftajax-components.aspx

Published 05 May 09 01:49 by marcsc

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

# Public Sector Developer Weblog said on May 5, 2009 8:52 AM:

NOTE: This was cross posted from here . I’ve been using jQuery quite a bit lately.&#160; I’ve grown very

# Jason N. Gaylord's Blog said on May 5, 2009 5:05 PM:

If you are looking to follow this series, be sure to subscribe to my RSS feed at http://feeds.jasongaylord

# ASPInsiders said on May 5, 2009 6:07 PM:

If you are looking to follow this series, be sure to subscribe to my RSS feed at http://feeds.jasongaylord.com/JasonNGaylord

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

Search

This Blog

Syndication

Page view tracker