Wednesday, March 28, 2012

why not EnablePartialRendering="true"?

why the attribute is not set by default, is there any specific behavior?

enablePartialRendering

="true"

Yes - it changes the way script manager deals with the page. This allows UpdatePanel to work. Without an UpdatePanel on the page, you don't need it enabled.


thank- i see that

but isnt the update panel the mostly used? or ... activate the partial reendering when update panel comes to page ...


I haven't worked through all the scenarios here, but one of them is that the UpdatePanel has some issues in Safari right now. Perhaps this question would be better suited for the general Atlas forum. Thanks!

Return Value

true if partial rendering is enabled and full-page updates are suppressed; otherwise,false. The default istrue.

Remarks

Even if theEnablePartialRendering property istrue,partial-page rendering might not occur for the following two reasons:the browser does not support partial-page rendering or theSupportsPartialRendering property is set tofalse.

You can override the value of theEnablePartialRendering property at run time during or before the page'sInit event. If you try to change this property after the page'sInit event has occurred, anInvalidOperationException exception is thrown.

No comments:

Post a Comment