แก้ไข

แชร์ผ่าน


ICallbackContainer Interface

Definition

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

public interface class ICallbackContainer
public interface ICallbackContainer
type ICallbackContainer = interface
Public Interface ICallbackContainer
Derived

Remarks

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 Without Postbacks.

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

Methods

GetCallbackScript(IButtonControl, String)

Creates a script for initiating a client callback to a Web server.

Applies to

See also