Suggérer une traduction
 
Suggestions d'autres utilisateurs :

progress indicator
Aucune autre suggestion.
Cliquez pour évaluer et commenter
MSDN
MSDN Library
Développement .NET
.NET Framework 4
Espaces de noms System.Web
System.Web.UI.WebControls
ICallbackContainer, interface
Réduire tout/Développer tout Réduire tout
Affichage du contenu :  côte à côteAffichage du contenu : côte à côte
.NET Framework Class Library
ICallbackContainer Interface

Defines a method that enables controls to obtain a callback script.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)
Visual Basic
Public Interface ICallbackContainer
C#
public interface ICallbackContainer
Visual C++
public interface class ICallbackContainer
F#
type ICallbackContainer =  interface end

The ICallbackContainer type exposes the following members.

  NameDescription
Public methodGetCallbackScriptCreates a script for initiating a client callback to a Web server.
Top

Classes that implement the ICallbackContainer interface provide controls with a script that will initiate a callback to the server. A callback differs from the more common postback in that the page processing for the callback recreates the page without changing state information held by the page. For more information on creating callbacks, see Implementing Client Callbacks Programmatically Without Postbacks in ASP.NET Web Pages.

Classes that implement the ICallbackContainer interface should also implement the ICallbackEventHandler interface to handle the events raised by controls.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

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.
Bibliothèque de classes .NET Framework
ICallbackContainer, interface

Définit une méthode qui permet aux contrôles d'obtenir un script de rappel.

Espace de noms :  System.Web.UI.WebControls
Assembly :  System.Web (dans System.Web.dll)
Visual Basic
Public Interface ICallbackContainer
C#
public interface ICallbackContainer
VisualC++
public interface class ICallbackContainer
F#
type ICallbackContainer =  interface end

Le type ICallbackContainer expose les membres suivants.

  NomDescription
Méthode publiqueGetCallbackScriptCrée un script pour lancer un rappel client à un serveur Web.
Début

Les classes qui implémentent l'interface ICallbackContainer fournissent des contrôles avec un script qui lancera un rappel au serveur. Un rappel diffère de la publication plus courante car le traitement des pages du rappel recrée la page sans modifier les informations d'état que contient la page. Pour plus d'informations sur la création de rappels, consultez Implémentation par programmation des rappels clients sans publication (postback) dans des pages Web ASP.NET.

Les classes qui implémentent l'interface ICallbackContainer doivent également implémenter l'interface ICallbackEventHandler pour gérer les événements déclenchés par les contrôles.

.NET Framework

Pris en charge dans : 4, 3.5, 3.0, 2.0

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.
Contenu de la communauté   Qu'est-ce que le Contenu de la communauté ?
Ajouter du contenu RSS  Annotations
Processing
© 2012 Microsoft. Tous droits réservés. Conditions d'utilisation | Marques | Confidentialité
Page view tracker