IPostBackContainer Interface
Collapse the table of content
Expand the table of content

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)

public interface IPostBackContainer


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

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
Available since 2.0
Return to top
© 2015 Microsoft