IPostBackContainer Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 class IPostBackContainer

NameDescription
System_CAPS_pubmethodGetPostBackOptions(IButtonControl^)

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
Show: