UpdateProgress.AssociatedUpdatePanelID Property


Gets or sets the ID of the UpdatePanel control that the UpdateProgress control displays status for.

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public string AssociatedUpdatePanelID { get; set; }

Property Value

Type: System.String

The ID of the associated UpdatePanel control. The default value is an empty string.

The default value is an empty string, which means that the UpdateProgress control is not associated with a specific UpdatePanel control. Therefore, asynchronous postbacks that originate from inside any UpdatePanel control or postbacks from controls that are triggers for the panel cause the UpdateProgress control to display its ProgressTemplate content.

You can set the AssociatedUpdatePanelID property to controls in the same naming container, in a parent naming container, or in the page.

.NET Framework
Available since 3.5
Return to top