Intersoft WebDesktop Documentation
OnError Property
See Also  Send Feedback
ISNet.WebUI.WebDesktop Namespace > WebFlyPostBackManagerClientSideEvents Class : OnError Property


Glossary Item Box

Specifies the client side (JavaScript) function name that will be invoked when fly postback manager request is failed.

Syntax

Visual Basic (Declaration) 
Public Overridable Property OnError As String
Visual Basic (Usage)Copy Code
Dim instance As WebFlyPostBackManagerClientSideEvents
Dim value As String
 
instance.OnError = value
 
value = instance.OnError
C# 
public virtual string OnError {get; set;}

Remarks

This event is executed when the WebFlyPostBackManager responses to the invalid request.

WebFlyPostBackManager implements error handling in automatic form. Therefore, the error thrown during FlyPostBack™ call or during client side processing will not be directly shown to users. In other words, any exceptions thrown by the server side method will not cause major failure to the caller. You can intercept the error in the OnError client side event when there is exception thrown by the server side method.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.