Поделиться через


ReportViewer.AsyncRendering Property

Gets or sets a Boolean value that indicates whether the report is rendered asynchronously from the rest of the Web page when the Web page is being loaded.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<DefaultValueAttribute(True)> _
Public Property AsyncRendering As Boolean
'Usage
Dim instance As ReportViewer
Dim value As Boolean

value = instance.AsyncRendering

instance.AsyncRendering = value
[WebBrowsableAttribute(true)] 
[DefaultValueAttribute(true)] 
public bool AsyncRendering { get; set; }
[WebBrowsableAttribute(true)] 
[DefaultValueAttribute(true)] 
public:
property bool AsyncRendering {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_AsyncRendering ()

/** @property */
public void set_AsyncRendering (boolean value)
public function get AsyncRendering () : boolean

public function set AsyncRendering (value : boolean)

Property Value

true if the report is rendered asynchronously; otherwise, false. The default is true.

Remarks

After the report is rendered on page load, this property no longer determines the report rendering behavior. By default, all subsequent report renderings are accomplished with AJAX partial-page updates through asynchronous postbacks, and changing this property has no effect. For more information on partial-page updates and asynchronous postbacks, see Partial-Page Rendering Overview.

To control the asynchronous postback behavior, use the InteractivityPostBackMode property.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace