Redigera

Dela via


UpdateProgress.AssociatedUpdatePanelID Property

Definition

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

public:
 property System::String ^ AssociatedUpdatePanelID { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.TypeConverter("System.Web.UI.Design.UpdateProgressAssociatedUpdatePanelIDConverter")]
public string AssociatedUpdatePanelID { get; set; }
[<System.ComponentModel.TypeConverter("System.Web.UI.Design.UpdateProgressAssociatedUpdatePanelIDConverter")>]
member this.AssociatedUpdatePanelID : string with get, set
Public Property AssociatedUpdatePanelID As String

Property Value

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

Attributes

Remarks

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.

Applies to

See also