Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

Callback Class

Callback control delivers capability to perform server side postback through AJAX (Asynchronous JavaScript and XML) call back request without reloading the whole page.

For a list of all members of this type, see Callback Members.

System.Object
   System.Web.UI.Control
      EO.Web.Control
         EO.Web.Callback

[Visual Basic]
Public Class Callback
    Inherits Control
[C#]
public class Callback : Control

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The main purpose of Callback is to process request on server-side without reloading the entire page. Any control that posts back to server can use Callback to handle its postback request.

Note   By using Callback control, in callback's event handler, you cannot update the web page. Use CallbackPanel if you intend to update the web page.

To specify a Callback to handle a control's postback request, simply set the Callback's Triggers property. Triggers property maintains a collection of CallbackTrigger controls and each in turn contains information of the control that could trigger this callback. Information includes control's client ID and input parameter. For example, if you want to specify a Callback to handle an ASP.NET button's click event, specify the button's client ID in CallbackTrigger's ControlID property, then add this CallbackTrigger into Callback's Triggers property.

Please see CallbackTrigger for details.

Requirements

Namespace: EO.Web

Assembly: EO.Web (in EO.Web.dll)

See Also

Callback Members | EO.Web Namespace


Direct link to this topic