UpdatePanel.RequiresUpdate Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

protected internal virtual bool RequiresUpdate { get; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 3.5
Return to top