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


In This Topic
    OnWebControlLoad Method (NDiagramAjaxTechnology)
    In This Topic
    Checks if there is a diagram web control state serialized in the session and if a diagram web control state is found, loads it to the associated Nevron Diagram web control.
    Syntax
    'Declaration
     
    
    Public Overrides Sub OnWebControlLoad( _
       ByVal e As System.EventArgs _
    ) 
    'Usage
     
    
    Dim instance As NDiagramAjaxTechnology
    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 diagram, displayed by the web control, can be changed asynchronously by AJAX callbacks. In addition the diagram image is rendered by the NDiagramImageResourceHandler class, rather than by the web control itself. Because of that the run-time state of the diagram 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