AJAX UpdateProgress Tip PDF Print E-mail

Written by Steve Gourley,

If you are using Microsoft ASP.NET AJAX then you are probably familiar with UpdatePanels. I came across a small hangup when using multiple UpdatePanels and UpdateProgress controls. The way an UpdateProgress control is triggered is whenever an update panel gets updated. So if you have multiple UpdateProgress controls, they all fire unless you set the AssociatedUpdatePanelID to a specific UpdatePanel.

If you set the AssociatedUpdatePanelID in the aspx code it does not work. The work around for this is to set the

UpdateProgress.AssociatedUpdatePanelID = UpdatePanel1.ID; in your aspx.cs code. UpdatePanel1.UniqueID does not work as well as ClientID.

Then all is well.


Users' Comments  
 

No comment posted

Add your comment

28, May. 2008
 
< Prev   Next >

AGRC Contacts | UGIC Contacts

feed image feed image

Utah GIS Portal © 2009 AGRC

Optimized for