ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / PageView class / pageClosed Event

In This Topic
    pageClosed Event
    In This Topic
    Indicates the viewer has closed the current image.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    function add_pageClosed(handler : Function)
    function remove_pageClosed(handler : Function)
    ASP.NET Ajax JavaScript (Usage) 
    .add_pageClosed(handler);
    .remove_pageClosed(handler);
    Remarks

    The viewer will raise this event in the following conditions:

    • You called the closePage function and the viewer had an image open.
    • You called the openPage function, there was an image already open, and the new image was different from the old image.
    • You called the dispose function and the viewer had an image open (or the ASP.NET client framework called dispose on your behalf when the page was closed or an UpdatePanel containing the viewer was reloaded).

    When the viewer raises this event, it will provide an instance of an PageViewState object as the event argument. This object will contain the state of the viewer just before the image was closed.

    See Also