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


In This Topic
    AsyncImageLoadTimeout Property (NWebControl)
    In This Topic
    Gets / sets a value in milliseconds that determines how long will the control wait for an image to load in the background before it is displayed on the web page.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("AJAX")>
    <System.ComponentModel.DescriptionAttribute("Timeout in miliseconds for an image to load in background at client side; when the image loading exceeds the timeout the image continues to load in foreground (the loading process becomes visible to the site visitor)")>
    <System.ComponentModel.DefaultValueAttribute(10000)>
    Public Property AsyncImageLoadTimeout As System.Integer
    'Usage
     
    
    Dim instance As NWebControl
    Dim value As System.Integer
     
    instance.AsyncImageLoadTimeout = value
     
    value = instance.AsyncImageLoadTimeout
    [System.ComponentModel.Category("AJAX")]
    [System.ComponentModel.Description("Timeout in miliseconds for an image to load in background at client side; when the image loading exceeds the timeout the image continues to load in foreground (the loading process becomes visible to the site visitor)")]
    [System.ComponentModel.DefaultValue(10000)]
    public System.int AsyncImageLoadTimeout {get; set;}
    Remarks
    This property is provided to avoid the possibility of unexpected web-browser behavior during background image loading. The reason to handle unexpected failures is that the client environment can vary greatly and not all factors affecting the web-browser, which displays the component, can be foreseen. Set to 0 to disable.
    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