Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
UpdatePanel Class
 IsInPartialRendering Property
.NET Framework Class Library
UpdatePanel..::.IsInPartialRendering Property

Updated: November 2007

Gets a value that indicates whether the UpdatePanel control is being updated as a result of an asynchronous postback.

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

Visual Basic (Declaration)
<BrowsableAttribute(False)> _
Public ReadOnly Property IsInPartialRendering As Boolean
Visual Basic (Usage)
Dim instance As UpdatePanel
Dim value As Boolean

value = instance.IsInPartialRendering
C#
[BrowsableAttribute(false)]
public bool IsInPartialRendering { get; }
Visual C++
[BrowsableAttribute(false)]
public:
property bool IsInPartialRendering {
    bool get ();
}
J#
/** @property */
/** @attribute BrowsableAttribute(false) */
public boolean get_IsInPartialRendering()
JScript
public function get IsInPartialRendering () : boolean

Property Value

Type: System..::.Boolean

true if the current UpdatePanel control is being updated as a result of an asynchronous postback; otherwise, false.

The IsInPartialRendering property is intended for use by control developers who want to know when an UpdatePanel control is being updated as a result of an asynchronous postback. In page development scenarios, use the IsInAsyncPostBack property to determine whether a page is processing as a result of an asynchronous postback.

Windows Vista, Windows XP SP2, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Always returns false when called from Page_Load?      Maxim Golov   |   Edit   |  
It seems that IsInPartialRendering always returns false when called from Page_Load, though "In page development scenarios..." statement seems to suggest that this property can be used to determine which UpdatePanel caused Page_Load event. Could you please clarify this?
Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker