Update progress inside update panel

chamara picture chamara · Jun 6, 2011 · Viewed 9.9k times · Source

i have two buttons inside a update panel.i need to trigger update progress and show a .gif image for each button click.when i press a button1 only the associated update progress should be displayed and the other one should be invisible

Answer

sudipto picture sudipto · Jun 6, 2011

You can associate the UpdateProgress control with a single UpdatePanel control by setting the progress control's AssociatedUpdatePanelID property. In that case, the UpdateProgress control displays a message only when a postback originates inside the associated UpdatePanel control.

Reference: http://msdn.microsoft.com/en-us/library/bb386421.aspx