in

ASP.NET Weblogs

This Blog

Syndication

Top ASP.NET Items

Browse by Tags

All Tags » Microsoft AJAX Library (RSS)
  • jQuery now officially part of the .NET developer’s toolbox

    You may have read that from John Resig or Scott Guthrie . I’m very excited to announce that Microsoft has decided to ship, adopt and support using jQuery on top of ASP.NET. This may come as a surprise to some of you but I hope you’ll agree with me that it makes total sense. jQuery is a fantastic JavaScript library that focuses on DOM querying and manipulation, whereas the Microsoft Ajax Library focuses on building reusable components and interacting with ASP.NET web services. A lot has been written already on this new partnership so I’ll just go ahead and show some code that hopefully will show how great jQuery and ASP.NET AJAX work together. As my first piece of code using both frameworks, I’ve built a very simple plug-in for jQuery that instantiates...
  • JavaScript and client templates on Hanselminutes

    I'm sharing a spot with Scott Cate (of CloudDB fame, and by the way CloudDB is a fantastic product built entirely using ASP.NET AJAX) this week on Hanselminutes. I had lots of fun discussing with Scott (Hanselman) on various topics ranging from JavaScript to the Microsoft Ajax Library and our new client template feature . Check it out! The first to spot the mistake I'm making during the show (assuming I made only one) gets a free book and DVD on Real World Ajax. http://www.hanselman.com/blog/HanselminutesPodcasts128And129AjaxWithScottCateAndJavaScriptWithBertrandLeRoy.aspx Read More...
  • Using client templates, part 2: Live Bindings

    In part 1 , we saw how to use DataView to render JavaScript data using a simple template. In this post, we'll see how rich bindings unlock richer scenarios where user changes automatically propagate back to the data and to all UI that is bound to it. In part 1 , we used the simplest type of binding, one-way, one-time bindings. These bindings are created using the {{ expression }} syntax, which is both simple and rich in that it enables arbitrary JavaScript expressions. This is made possible by the fact that templates are compiled by the Ajax framework into a JavaScript function and these bindings get embedded right into that generated function. Because of that, the binding gets evaluated only once, when the template is instantiated. For...
  • Using the Ajax Control Toolkit in ASP.NET MVC

    Stephen Walther has a pretty cool post on using the new file-only version of the Ajax Control Toolkit from an MVC application: http://weblogs.asp.net/stephenwalther/archive/2008/08/22/asp-net-mvc-tip-36-create-a-popup-calendar-helper.aspx Read More...
  • Ajax Control Toolkit released for .NET 3.5 SP1

    I just released the latest version of the Ajax Control Toolkit for .NET 3.5 SP1. This is an intermediary release that provides a version of the Toolkit that is built against the .NET Framework 3.5 SP1. It contains a new control, MultiHandleSlider, built by Daniel Crenna (thanks, Daniel, you're the hero of this release) and integrates patches contributed by the community. A big thank you to all who contributed (see their names in the hall of fame ). The sample web site is not yet updated to this new release, this will be done in a couple of days. I will update this post once this is done. What's next? In the very short term, we will provide a client-side only version of the toolkit, similar to the Microsoft Ajax Library , that enables...
  • Need a simple grid for ASP.NET Ajax?

    A client grid control is probably the most requested control for the Ajax Control Toolkit . It will come eventually but if you need a simple grid control right now, DotNetSlackers' Ajax Data Controls do a pretty good job. Their grid supports pagination , sorting , drag and drop of columns , in-place edition and is server-integrated. They also provide repeater types of controls but those are made a little more complex to use because of the lack of data binding. The whole thing is open-source . w00t! Check it out: http://dotnetslackers.com/projects/AjaxDataControls/GridView/Default.aspx Read More...
  • Using client templates, part 1

    Last week, we shipped the first preview for the Ajax work we're doing in ASP.NET 4.0 under the simple form of a simple script file (release and debug versions). This should show how much emphasis this release puts on the client-side. As a matter of facts, I'll use a plain HTML file here instead of an ASPX file to make it perfectly clear that everything here (except for the web service that provides the data) runs on the client. One of the scenarios we're trying to improve is updating parts of the page with new data without a postback (in other words, Ajax). That's a scenario you could implement in a number of manners. First, you could put an UpdatePanel control around your server rendering of the data and be done with it. That...
  • ASP.NET AJAX 4.0 CodePlex Preview 1 available

    I'm very happy to announce that the first preview for the new Ajax features in ASP.NET just went live. Thanks to everyone who made that happen and thanks to all of you for providing feedback on the Roadmap . This preview contains preview implementations for the following features: Client-side template rendering Declarative instantiation of behaviors and controls DataView control Markup extensions Bindings I'll go over those features in more details and provide walkthroughs in the following weeks. As usual, all feedback is very welcome. http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=15511 Read More...
  • Using ScriptManager with other frameworks

    ScriptManager is a useful control. It manages script references, removes duplicates, enables localization and debug/release modes, enables script combining and makes client-side component-based development easier (components register their script dependencies with ScriptManager without the page developer having to know those dependencies). But one thing we should have anticipated was that this control would be interesting to developers who wish to use a different framework than the Microsoft Ajax Library . Currently, ScriptManager isn't really usable without Microsoft Ajax because it includes the Microsoft library (without a simple way to disable it) and outputs some startup script to the page. We're looking at correcting that in future...
  • ASP.NET Ajax roadmap published

    We just published our roadmap for ASP.NET Ajax . In this document we describe some of the proposed features that we are considering investing in future releases of ASP.NET AJAX, Visual Web Developer, and the ASP.NET AJAX Control Toolkit. We really appreciate your feedback, so this document is intended as much for you to provide an input to our direction as well as to give some indication of what the teams are investing in. http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=14924 Read More...
More Posts Next page »