AJAX

There are 12 entries for the tag AJAX

The end for the AjaxControlToolkit?

Is it the end for the AJAX Control Toolkit? I’m not sure as I think there’s always going to be a market for simple declarative ‘pseudo ajax’ additions to the WebForms experience, no matter how bad the markup and JavaScript that they create. So while I can’t see myself using it, a version of the AjaxControlToolkit with some jQuery behind it could be an interesting thing to see. Certainly if there’s going to be sites out there using the ACT it’d be a better world if there was jQuery somewhere in the picture. Watch that space. Tags:...

Introduction to jQuery templates

If you’ve read anything about the story around Microsoft’s adoption of jQuery then you may of heard mention of jQuery templates. I’ve seen a few older examples of templating approaches using JavaScript before using Microsoft’s Ajax, and while I could easily see the value and appeal it didn’t feel like it was worth switching over to MS Ajax just to use it. As of jQuery version 1.5, templates will be included as part of the core functionality, which says to me that it’s time to get interested and start paying attention, and one of the best way’s to get...

Mixing ASP.NET Ajax and jQuery

One of my clients has an application which makes extremely heavy use of UpdatePanels.  That’s my way of saying it was “architected” by idiots. It’s okay for me to say that, as they didn’t design it themselves – instead they paid a set of so called experts to do it for them. HINT: when you’re nesting UpdatePanels more than 3-4 levels deep, and using them in repeater templates then you’re doing it wrong. A couple of changes they wanted made were going to be easier done using jQuery, so in it went, however it took a few more tweaks...

New AjaxControlToolkit Release – new controls + bugfixes

Ajax Control Toolkit: new controls, bug fixes – I can’t think of an immediate use for the Seadragon control, but I’m sure on a long enough timeline one will make itself apparent. I’m quite interested to give the AsyncFileUpload control a run through – if they’ve done a good job with this then there’s a lot more reason to use the AjaxControlToolkit. On an AjaxControlToolkit related side note, be thankful you're not this guy. Tags: AJAX, Microsoft

ASP.NET AJAX Roadmap

If you work with ASP.NET and AJAX then you'll probably want to take a look at Microsoft's ASP.NET AJAX Roadmap document. After restating their goal of "making ASP.NET Ajax the first-class choice for all Web 2.0 Developers" they start listing some of their ideas for the future. Template driven binding sounds useful, and I've recently come across a few people mentioning that even though the version in Atlas had it's faults, that it was still a good idea. The DOM APIs around element selection look useful,  and there are various other shiny things such as increased animation effects...

AJAX Control Toolkit 10920

The 10920 release of the AJAX Control Toolkit was shipped a few days back (thanks Doug). Lots of general fixes and control specific fixes - check out the link for more info. A couple of the fixes look like things I've experienced in the past, so I'm looking forward to some time to upgrade various solutions to 10920 and have all my AJAX woes magically fixed! Technorati Tags: AJAX , ASP.NET

Thursday Linkorama

I've had a load of tabs open in my browser for the last week, all of which are useful and interesting, but none of which justify a full post. Here they are: Scott Guthrie talking about the asp:Listiew Control which is coming in ASP.NET 3.5 - I've been working with GridViews and Repeaters over the past couple of weeks, and doing so is making me really look forward to the ListView! As welcome as the control will be, you have to think that it's been a loooong time in coming (thanks for the link Doug, even if I did forget...

A couple of quick fixes to the AjaxControlToolkit CalendarExtender

The AjaxControlToolkit CalendarExtender is one of the more usable and useful controls in the kit. However there are a couple of things you might want to do to it in order to increase it's usefulness: First, the default behavior is to hide the calendar when the textbox you're extending loses focus. This might be ok for some people, but I wanted it to disappear when a date was selected. Simply add a hideCalendar function, which you can either do in static JavaScript or via RegisterClientScript block depending on your application: Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "hideCalendar", @"function hideCalendar(cb) { cb.hide();...

New AJAX Control Toolkit release

The latest release of the AJAX Control Toolkit is now available. On top of over 125 bug fixes and enhancments the new Toolkit includes something called the "ToolkitScriptCombiner" - a control designed to dynamically merge multiple client-side Javascript scripts into a single file that is downloaded to the client at runtime. 2007-06-06 release of the AJAX Control Toolkit has a number of fixes identified as important by the community including designer support for Tabs and Web Services. It also has Animation support for some extenders, event support across the Toolkit, a Script combiner for reducing...

Styling the Atlas UpdatePanel and UpdateProgress controls

Out of the box, the ASP.NET Ajax UpdatePanel and UpdateProgress controls do a pretty good job of removing postbacks from your applications, but they need a little bit of styling to get them looking their best. Here's a couple of links to get you started on the right track: Link: Using the UpdateProgress as a modal overlay Link: Gmail style 'loading' indicator using UpdateProgress Link: UpdateControls: UpdateHistory and AnimatedUpdatePanel Raj's modal overlay (the first link above) allows you to target either an individual control (such as a panel or a GridView), or the entire page. It's very slick looking, but...

A quick tip for working with UpdatePanels

UpdatePanels are a pretty neat part of Microsoft's Ajax Extensions. It's interesting to note how much faster pages *seem* when you remove all visual aspects of the postback. Sure, the postback is still happening, but without the need to re-render the entire page things seem so much snappier. However to make sure that your page is running as fast as it possibly can, remember to set the UpdatePanel's UpdateMode to Conditional (which isn't the default). It might seem like an obvious thing, but when you're working on complex pages that contain multiple UpdatePanels, multiple UpdateProgress controls, as...

Microsoft AJAX Extensions: Sys.Debug is null or not an object

One of the breaking changes which was made with the 1.0 release of the Microsoft Ajax Extensions was the renaming of the 'Debug' class to 'Sys.Debug' for reasons of compatiability with other frameworks. Breaking changes like this can often be a source of frustration, however today I was pretty glad that they renamed the class, as it helped me to troubleshoot issues with the awful MSI on a Vista development box. The problem shows as a JavaScript error which states "Sys.Debug.IsDebug is null or not an object", basically telling you that something is using the wrong version of...