ScriptManager::SupportsPartialRendering Property
Gets a value that indicates whether the client supports partial-page rendering.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
[BrowsableAttribute(false)] public: virtual property bool SupportsPartialRendering { bool get () sealed; void set (bool value) sealed; }
<asp:ScriptManager SupportsPartialRendering="True|False" />
Property Value
Type: System::Booleantrue if the client supports partial-page rendering; otherwise, false. The default value is true.
| Exception | Condition |
|---|---|
| InvalidOperationException | The EnablePartialRendering property is false and the SupportsPartialRendering property was set to true. - or - The SupportsPartialRendering property was set after the Init event. |
If the EnablePartialRendering property is set to false, the SupportsPartialRendering property returns false.
The default check to determine whether partial-page rendering is supported returns true when the following conditions are true:
The W3CDomVersion property value must be greater than or equal to 1.0.
The EcmaScriptVersion property value must be greater than or equal to 1.0.
The SupportsCallback property value must be set to true.
When the SupportsPartialRendering property is explicitly set, these checks are not used.
Control developers should use the SupportsPartialRendering property to determine whether they should support partial-page rendering.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.