ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > PageView class : pageOpened Event |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function add_pageOpened(handler : Function) function remove_pageOpened(handler : Function) |
ASP.NET Ajax Javascript (Usage) | |
---|---|
.add_pageOpened(handler); .remove_pageOpened(handler); |
The viewer will raise this event whenever it finishes opening a new image (usually as the result of a call to the openPage function).
Because the viewer must interact with the server, there will be some delay between the time you call openPage and the time the viewer raises this event. Normally, the viewer will raise this event after the openPage function returns, but in some cases the viewer will raise it before openPage returns.
When the viewer raises this event, it will provide an instance of an PageViewState object as the event argument.