DetailsView.IPostBackContainer.GetPostBackOptions(IButtonControl) Metodo

Definizione

Per una descrizione di questo membro, vedere GetPostBackOptions(IButtonControl).

 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

Parametri

buttonControl
IButtonControl

Il controllo che genera l'evento di postback sul lato client.

Restituisce

PostBackOptions

Oggetto PostBackOptions con le informazioni necessarie affinché GetPostBackEventReference crei uno script valido che quando viene eseguito sul client avvii un postback del client.

Implementazioni

Eccezioni

buttonControl è null.

buttonControl esegue la convalida nel controllo DetailsView e tenta di utilizzare lo stesso controllo DetailsView come destinazione di postback.

Commenti

Questo membro è un’implementazione esplicita di un membro di interfaccia. Può essere usato solo quando l'istanza viene eseguita il cast nell'interfaccia DetailsView IPostBackEventHandler .

Si applica a

Vedi anche