Επεξεργασία

Κοινή χρήση μέσω


IPostBackContainer Interface

Definition

Defines a method that enables controls to obtain client-side script options.

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

Remarks

Classes that implement the IPostBackContainer interface enable buttons to get a PostBackOptions object that is used to create the correct postback event reference.

For more information about postback processing, see ASP.NET Web Forms Server Control Event Model.

Controls that implement the IPostBackContainer interface should also implement the IPostBackEventHandler interface to handle events raised by contained buttons.

Methods

GetPostBackOptions(IButtonControl)

Returns the options required for a postback script for a specified button control.

Applies to

See also