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

Comments (3)

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

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

  3. ASPInsiders says:

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