Share via


FormView.IPostBackContainer.GetPostBackOptions(IButtonControl) Yöntem

Tanım

Denetim için FormView geri gönderme olayı seçeneklerini belirler.

 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

Parametreler

buttonControl
IButtonControl

Sayfayı sunucuya geri postalayan düğme denetimi.

Döndürülenler

Denetim için FormView geri gönderme olayı seçenekleri.

Uygulamalar

Özel durumlar

parametresinde buttonControl bulunan nesne: null.

CausesValidation özelliğidir buttonControltrue.

Açıklamalar

IPostBackContainer.GetPostBackOptions yöntemi, denetimin geri gönderme olay seçeneklerini içeren bir nesne oluşturmak için denetim tarafından FormView çağrılan bir PostBackOptions yardımcı yöntemdir. PostBackOptions nesnesi genellikle yöntemi için GetPostBackEventReference parametre olarak kullanılır.

Şunlara uygulanır

Ayrıca bkz.