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


ReportViewer.WaitControlDisplayAfter Property

Gets or sets the delay in milliseconds before the wait control is displayed to the user when the report is loaded.

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

Syntax

'Declaration
<DefaultValueAttribute(1000)> _
<WebBrowsableAttribute(True)> _
Public Property WaitControlDisplayAfter As Integer
'Usage
Dim instance As ReportViewer
Dim value As Integer

value = instance.WaitControlDisplayAfter

instance.WaitControlDisplayAfter = value
[DefaultValueAttribute(1000)] 
[WebBrowsableAttribute(true)] 
public int WaitControlDisplayAfter { get; set; }
[DefaultValueAttribute(1000)] 
[WebBrowsableAttribute(true)] 
public:
property int WaitControlDisplayAfter {
    int get ();
    void set (int value);
}
/** @property */
public int get_WaitControlDisplayAfter ()

/** @property */
public void set_WaitControlDisplayAfter (int value)
public function get WaitControlDisplayAfter () : int

public function set WaitControlDisplayAfter (value : int)

Property Value

An int value that specifies the time in milliseconds. The default value is 1000 (1 second).

Remarks

When the ReportViewer is rendering a report on page load, the wait control is always displayed immediately if AsyncRendering is set to true. If AsyncRendering is set to false, the wait control is not displayed when the Web page is loaded. Once the Web page is loaded, the wait control is always displayed on report actions that cause asynchronous postbacks, and this property specifies the delay in displaying the wait control.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace
ReportViewer.InteractivityPostBackMode Property

Other Resources

Partial-Page Rendering Overview