UpdatePanel.RequiresUpdate Property

Definition

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

protected internal virtual bool RequiresUpdate { get; }

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

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1