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

Glossary Item Box

Indicates the viewer failed to open a new image.

Syntax

ASP.NET Ajax Javascript (Specification) 
function add_pageOpenFailed(handler : Function)
function remove_pageOpenFailed(handler : Function)
ASP.NET Ajax Javascript (Usage) 
.add_pageOpenFailed(handler);
.remove_pageOpenFailed(handler);

Remarks

The viewer will raise this event whenever it fails to open 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 a call to the openPage function fails to load a page.

When the viewer raises this event, it will provide an instance of an exception object ImGearPageOpenFailedEventArgs as the event argument. This object contains an exception object, which may be of the following type in the list:

See Also

©2013. Accusoft Corporation. All Rights Reserved.