Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...How to notify client that async call from UpdatePanel has completed?How to notify client that async call from UpdatePanel has completed?
Previous
 
Next
New Post
7/16/2012 5:06 PM
 

This might be a general ASP.Net question, or maybe the DNN framework has something useful built in to help with this ....

I have a module that uses an UpdatePanel built into the module control. In the skin there is a Javascript function that dynamically adds CSS classes to various elements in the HTML of the module control when the page loads (I won't go into why this is done, just be assured that it is needed!).

The two things do not play well together however. When the module control is initially loaded, or there is a full (non AJAX) postback, the JS function runs fine. When there is a partial postback to re-render the UpdatePanel content, the function does not detect this.

I have looked for some kind of event that is raised when the partial postback completes but I can't find one. Does anyone know of one or can suggest another way to trigger the function to run?

Many thanks.

 
New Post
7/16/2012 5:14 PM
Accepted Answer 

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
7/18/2012 2:21 AM
 

Thanks Richard! I had honestly been searching for the answer before posting here! 

The answer for posterity is that there is a client-side pageLoad event for exactly this purpose (see http://stackoverflow.com/questions/11...).

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...How to notify client that async call from UpdatePanel has completed?How to notify client that async call from UpdatePanel has completed?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out