Nevron .NET Vision
Nevron.UI.WebForm.Controls Namespace / NWebControl Class / AsyncAdaptiveRefreshIntervalFactor Property


In This Topic
    AsyncAdaptiveRefreshIntervalFactor Property (NWebControl)
    In This Topic
    Gets / sets a multiplier that is used to automatically slow down the auto-refresh rate of the control when an AJAX callback time-outs.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("AJAX")>
    <System.ComponentModel.DescriptionAttribute("The factor to multiply the async refresh interval on request timeout; the value of 1 disables the refresh interval adaptaion")>
    <System.ComponentModel.DefaultValueAttribute(1)>
    Public Property AsyncAdaptiveRefreshIntervalFactor As System.Single
    'Usage
     
    
    Dim instance As NWebControl
    Dim value As System.Single
     
    instance.AsyncAdaptiveRefreshIntervalFactor = value
     
    value = instance.AsyncAdaptiveRefreshIntervalFactor
    [System.ComponentModel.Category("AJAX")]
    [System.ComponentModel.Description("The factor to multiply the async refresh interval on request timeout; the value of 1 disables the refresh interval adaptaion")]
    [System.ComponentModel.DefaultValue(1)]
    public System.float AsyncAdaptiveRefreshIntervalFactor {get; set;}
    Remarks

    By preference, Nevron AJAX components are designed to slow down the auto-refresh on refresh timeout by multiplying the auto-refresh interval by a flood-protection factor. In the practice, setting this property value to 1.5 will slow down the refresh rate and resume normal operation of the control within a reasonable time after the first callback timeout is detected.

    By default the AsyncAdaptiveRefreshIntervalFactor property is 1, which turns off the adaprive refresh.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also