ATLAS UpdateProgressSignup: get a notification of UpdatePanel's events

UPDATE 03/09/2006: This post has a follow up, please read this for the updates.

One of the most asked questions on the ATLAS forums - one I asked myself just yesterday - is about how to get a notification when the UpdatePanels in the page perform their asynchronous postback to the server and moslty when they return their results.
If the UpdateProgress control does its work pretty well allowing to display a message during partial updates, someone may be interested in performing some custom actions when those events fire.

I don't want to delve into the mechanisms by which ATLAS performs its asynchronous calls and how the UpdateProgress subscribes to those events, for which I redirect you to the ATLAS forum, where it has been discussed largely like in this post.
Since the current ATLAS CTP doesn't provide us with an easy way of doing that I have created a server control which exposes two properties, which in turn accept the names of two Javascript functions you can write in your page and which are called respectively when the UpdatePanels initiate the postback and when the results are returned.

You can find more details and the download links here.

kick it on DotNetKicks.com

Published 04 July 2006 09:16 PM by simoneb
Filed under: , ,

Comments

# DotNetKicks.com said on 14 July, 2006 06:53 PM
You've been kicked (a good thing) - Trackback from DotNetKicks.com
# SimoneB's Blog said on 02 September, 2006 06:26 PM
Some time ago I wrote about a web control I created which let you bind two javascript functions to the...
# Paul said on 05 September, 2006 01:01 PM
Hello, Simone: You are an angel! I've been trying to get my startup javascript (registered in the response to a partial postback) to do another partial postback in response to a javascript confirm dialog box. I've tried many techniques, but none have worked until I stumbled upon your UpdateProgressSignup control. It works like a charm. Thanks, Paul
# simoneb said on 05 September, 2006 03:25 PM

Glad I helped Paul.

# SimoneB's Blog said on 05 September, 2006 07:18 PM

UPDATE 06/09/2006: a screencast is available at the bottom of the post. Some time ago I wrote about a

# Joel Rumerman said on 19 September, 2006 04:33 PM

With the new Atlas Toolkit released, you can wire up to partial update events.

Check out the Other Neat Stuff section ...

http://atlas.asp.net/atlastoolkit/Walkthrough/OtherNeatStuff.aspx

# simoneb said on 21 September, 2006 05:39 PM

Thanks for pointing that out Joel.

# Zolpidem. said on 15 August, 2008 07:57 AM

Zolpidem overnight. Buy zolpidem. Cheapest zolpidem. Zolpidem tartrate. Zolpidem overdose. Zolpidem. Zolpidem with alcohol.

# Lexapro side effects. said on 21 August, 2008 11:48 PM

Lexapro weight gain weight loss. Alcohol and lexapro. Taking lexapro and wellbutrin together. Does lexapro cause infertility. Lexapro.

# Ultracet. said on 25 August, 2008 10:41 PM

Difference between percocet and ultracet. Ultracet.

# Ultracet. said on 29 August, 2008 02:13 AM

Extracting acetaminophen from ultracet. Ultracet. Ultracet medication.

This site

Search

Go

This Blog

News

Syndication

Sponsors

  • MaximumASP