ImageGear for .NET
pageClosed Event
See Also  Send comments on this topic.
ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > PageView Class : pageClosed Event

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.