ASP.NET Ajax Javascript (Specification) | |
---|---|
function add_artPageOpenFailed(handler : Function) function remove_artPageOpenFailed(handler : Function) |
ASP.NET Ajax Javascript (Usage) | |
---|---|
.add_artPageOpenFailed(handler); .remove_artPageOpenFailed(handler); |
The viewer will raise this event whenever it fails to load ART data for requested page (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 the page number for ART data that is requested. Also, this object contains an exception object, which may be of the following type in the list:
- ImageGear.Web.UI.ImGearHttpException, for details see, ImGearHttpException
- ImageGear.Web.UI.ImGearArgumentException, for details see, ImGearArgumentException
- ImageGear.Web.UI.ImGearArgumentOutOfRangeException, for details see, ImGearArgumentOutOfRangeException
- ImageGear.Web.UI.ImGearInvalidOperationException, for details see, ImGearInvalidOperationException
- ImageGear.Web.UI.ImGearNotImplementedException, for details see, ImGearNotImplementedException
- ImageGear.Web.UI.ImGearParameterCountException, for details see, ImGearParameterCountException
- ImageGear.Web.UI.ImGearArgumentTypeException, for details see, ImGearArgumentTypeException
- ImageGear.Web.UI.ImGearArgumentNullException, for details see, ImGearArgumentNullException
- ImageGear.Web.UI.ImGearArgumentUndefinedException, for details see, ImGearArgumentUndefinedException