Nevron .NET Vision
Nevron.UI.WebForm.Controls Namespace / NAjaxTechnologyHelper Class / IsAjaxTechnologyAplicable Method
The web control
Is in design mode


In This Topic
    IsAjaxTechnologyAplicable Method
    In This Topic
    At run time, when in Microsoft Callback mode, tests if the browser, from which the current request originates, supports callbacks.
    Syntax
    'Declaration
     
    
    Public Shared Function IsAjaxTechnologyAplicable( _
       ByVal webControl As NWebControl, _
       ByVal designMode As System.Boolean _
    ) As System.Boolean
    'Usage
     
    
    Dim webControl As NWebControl
    Dim designMode As System.Boolean
    Dim value As System.Boolean
     
    value = NAjaxTechnologyHelper.IsAjaxTechnologyAplicable(webControl, designMode)
    public static System.bool IsAjaxTechnologyAplicable( 
       NWebControl webControl,
       System.bool designMode
    )

    Parameters

    webControl
    The web control
    designMode
    Is in design mode

    Return Value

    False, if tested at run time, in Microsoft Callback mode and the web browser does not support callbacks. Else returns true.
    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