ScriptManager.SupportsPartialRendering Propriedade
Definição
Obtém um valor que indica se o cliente dá suporte à renderização parcial da página.Gets a value that indicates whether the client supports partial-page rendering.
public:
property bool SupportsPartialRendering { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool SupportsPartialRendering { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.SupportsPartialRendering : bool with get, set
Public Property SupportsPartialRendering As Boolean
Valor da propriedade
true se o cliente der suporte à renderização parcial da página; caso contrário, false.true if the client supports partial-page rendering; otherwise, false. O valor padrão é true.The default value is true.
- Atributos
Exceções
A propriedade EnablePartialRendering é false e a propriedade SupportsPartialRendering foi definida como true.The EnablePartialRendering property is false and the SupportsPartialRendering property was set to true.
- ou --or- A propriedade SupportsPartialRendering foi definida após o evento Init.The SupportsPartialRendering property was set after the Init event.
Comentários
Se a EnablePartialRendering propriedade for definida como false , a SupportsPartialRendering propriedade retornará false .If the EnablePartialRendering property is set to false, the SupportsPartialRendering property returns false.
A verificação padrão para determinar se o processamento de página parcial tem suporte retorna true quando as seguintes condições são verdadeiras:The default check to determine whether partial-page rendering is supported returns true when the following conditions are true:
O W3CDomVersion valor da propriedade deve ser maior ou igual a 1,0.The W3CDomVersion property value must be greater than or equal to 1.0.
O EcmaScriptVersion valor da propriedade deve ser maior ou igual a 1,0.The EcmaScriptVersion property value must be greater than or equal to 1.0.
O SupportsCallback valor da propriedade deve ser definido como
true.The SupportsCallback property value must be set totrue.
Quando a SupportsPartialRendering propriedade é definida explicitamente, essas verificações não são usadas.When the SupportsPartialRendering property is explicitly set, these checks are not used.
Os desenvolvedores de controle devem usar a SupportsPartialRendering propriedade para determinar se devem oferecer suporte à renderização parcial da página.Control developers should use the SupportsPartialRendering property to determine whether they should support partial-page rendering.