ScriptManager::SupportsPartialRendering Property
Gets a value that indicates whether the client supports partial-page rendering.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
public: [BrowsableAttribute(false)] property bool SupportsPartialRendering { virtual bool get() sealed; virtual void set(bool value) sealed; }
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.
Available since 3.5