Nevron .NET Vision
Nevron.Chart.WebForm Namespace / NChartAjaxTechnology Class / OnWebControlLoad Method
An System.EventArgs that contains the event data.


In This Topic
    OnWebControlLoad Method (NChartAjaxTechnology)
    In This Topic
    Checks if there is a chart web control state serialized in the session and if a chart web control state is found, loads it to the associated Nevron Chart web control.
    Syntax
    'Declaration
     
    
    Public Overrides Sub OnWebControlLoad( _
       ByVal e As System.EventArgs _
    ) 
    'Usage
     
    
    Dim instance As NChartAjaxTechnology
    Dim e As System.EventArgs
     
    instance.OnWebControlLoad(e)
    public override void OnWebControlLoad( 
       System.EventArgs e
    )

    Parameters

    e
    An System.EventArgs that contains the event data.
    Remarks
    In AJAX mode the state of the chart, displayed by the web control, can be changed asynchronously by AJAX callbacks. In addition the chart image is rendered by the NChartImageResourceHandler class, rather than by the web control itself. Because of that the run-time state of the chart is stored in the session, rather than in the view state, which is not available to the HTTP image resource handler.
    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