DetailsView.IPostBackContainer.GetPostBackOptions(IButtonControl) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
For a description of this member, see 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
Parameters
- buttonControl
- IButtonControl
The control generating the client-side postback event.
Returns
A PostBackOptions with the information required for GetPostBackEventReference to construct a valid script that, when executed on the client, initiates a client postback.
Implements
Exceptions
buttonControl
is null
.
buttonControl
causes validation in the DetailsView control and attempts to use the same DetailsView control as a postback target.
Remarks
This member is an explicit interface member implementation. It can be used only when the DetailsView instance is cast to the IPostBackEventHandler interface.