Export (0) Print
Expand All

ICallbackContainer Interface

Defines a method that enables controls to obtain a callback script.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public interface ICallbackContainer

The ICallbackContainer type exposes the following members.

  NameDescription
Public methodGetCallbackScriptCreates a script for initiating a client callback to a Web server.
Top

Classes that implement the ICallbackContainer interface provide controls with a script that will initiate a callback to the server. A callback differs from the more common postback in that the page processing for the callback recreates the page without changing state information held by the page. For more information on creating callbacks, see Implementing Client Callbacks Programmatically Without Postbacks in ASP.NET Web Pages.

Classes that implement the ICallbackContainer interface should also implement the ICallbackEventHandler interface to handle the events raised by controls.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft