UpdatePanel.RequiresUpdate Property

Definition

Gets a value that indicates whether the content of the UpdatePanel control will be updated.

protected public:
 virtual property bool RequiresUpdate { bool get(); };
protected internal virtual bool RequiresUpdate { get; }
member this.RequiresUpdate : bool
Protected Friend Overridable ReadOnly Property RequiresUpdate As Boolean

Property Value

true if the UpdatePanel control's content will be updated; otherwise, false.

Remarks

By default, the RequiresUpdate property returns true if the Update method was explicitly called or if the UpdateMode property is set to Always.

This property is intended for use by control developers who want to extend the UpdatePanel control. For example, in derived classes, you might provide additional logic to determine whether an UpdatePanel control should be updated.

Applies to