GridView.IPostBackContainer.GetPostBackOptions(IButtonControl) Methode

Definition

Erstellt ein PostBackOptions Objekt, das das Postbackverhalten des angegebenen Schaltflächensteuerelements darstellt.

 virtual System::Web::UI::PostBackOptions ^ System.Web.UI.WebControls.IPostBackContainer.GetPostBackOptions(System::Web::UI::WebControls::IButtonControl ^ buttonControl) = System::Web::UI::WebControls::IPostBackContainer::GetPostBackOptions;
System.Web.UI.PostBackOptions IPostBackContainer.GetPostBackOptions(System.Web.UI.WebControls.IButtonControl buttonControl);
abstract member System.Web.UI.WebControls.IPostBackContainer.GetPostBackOptions : System.Web.UI.WebControls.IButtonControl -> System.Web.UI.PostBackOptions
override this.System.Web.UI.WebControls.IPostBackContainer.GetPostBackOptions : System.Web.UI.WebControls.IButtonControl -> System.Web.UI.PostBackOptions
Function GetPostBackOptions (buttonControl As IButtonControl) As PostBackOptions Implements IPostBackContainer.GetPostBackOptions

Parameter

buttonControl
IButtonControl

Das Schaltflächensteuerelement, für das das Rückrufskript erstellt werden soll.

Gibt zurück

Ein PostBackOptions Wert, der das Postbackverhalten des angegebenen Schaltflächensteuerelements darstellt.

Implementiert

Ausnahmen

Der buttonControl Parameter enthält null.

buttonControl führt zur Überprüfung und versucht, den selben Container zurück zu veröffentlichen, der überprüft wird.

Gilt für: