SupportsPartialRendering Property

ScriptManager.SupportsPartialRendering Property


Gets a value that indicates whether the client supports partial-page rendering.

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

public bool SupportsPartialRendering { get; set; }

Property Value

Type: System.Boolean

true if the client supports partial-page rendering; otherwise, false. The default value is true.

Exception Condition

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:

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.

.NET Framework
Available since 3.5
Return to top
© 2015 Microsoft