Export (0) Print
Expand All

IPostBackContainer Interface

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

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

'Declaration
Public Interface IPostBackContainer

The IPostBackContainer type exposes the following members.

  NameDescription
Public methodGetPostBackOptionsReturns the options required for a postback script for a specified button control.
Top

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft