.NET Framework Class Library 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)

Syntax
Public Interface IPostBackContainer
public interface IPostBackContainer
public interface class IPostBackContainer
type IPostBackContainer = interface end
The IPostBackContainer type exposes the following members.

Methods
|
| Name | Description |
|---|
.gif) | GetPostBackOptions | Returns the options required for a postback script for a specified button control. | Top

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 Server Control Event Model. Controls that implement the IPostBackContainer interface should also implement the IPostBackEventHandler interface to handle events raised by contained buttons.

Version Information
.NET FrameworkSupported in: 4, 3.5, 3.0, 2.0

Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

See Also
|
Bibliothèque de classes .NET Framework IPostBackContainer, interface Définit une méthode qui permet aux contrôles d'obtenir des options de script côté client.
Espace de noms :
System.Web.UI.WebControls
Assembly :
System.Web (dans System.Web.dll)

Syntaxe
Public Interface IPostBackContainer
public interface IPostBackContainer
public interface class IPostBackContainer
type IPostBackContainer = interface end
Le type IPostBackContainer expose les membres suivants.

Méthodes
|
| Nom | Description |
|---|
.gif) | GetPostBackOptions | Retourne les options requises pour un script de publication pour un contrôle de bouton spécifié. | Début

Notes
Les classes qui implémentent l'interface IPostBackContainer permettent aux boutons d'obtenir un objet PostBackOptions qui est utilisé pour créer la référence d'événement de publication correcte. Pour plus d'informations sur le traitement de la publication, consultez Modèle d'événements du contrôle serveur Web ASP.NET. Les contrôles qui implémentent l'interface IPostBackContainer doivent également implémenter l'interface IPostBackEventHandler pour gérer les événements levés par les boutons contenus.

Informations de version
.NET FrameworkPris en charge dans : 4, 3.5, 3.0, 2.0

Plateformes
Windows 7, Windows Vista SP1 ou ultérieur, Windows XP SP3, Windows XP SP2 Édition x64, Windows Server 2008 (installation minimale non prise en charge), Windows Server 2008 R2 (installation minimale prise en charge avec SP1 ou version ultérieure), Windows Server 2003 SP2
Le .NET Framework ne prend pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.

Voir aussi
|