System.Web.UI.WebControls.IPostBackContainer.GetPostBackOptions Method

Returns the options required for a postback script for a specified button control.

Syntax

public System.Web.UI.PostBackOptions GetPostBackOptions (IButtonControl control)

Parameters

control
Documentation for this section has not yet been entered.

Returns

A System.Web.UI.PostBackOptions object containing the options required to generate a postback script for buttonControl.

Remarks

Implementations of the IPostBackContainer.GetPostBackOptions(IButtonControl) method should configure a new System.Web.UI.PostBackOptions instance with the information required for the System.Web.UI.ClientScriptManager.GetPostBackEventReference(System.Web.UI.PostBackOptions) method to construct a valid postback event reference, which, when executed on the client, initiates a postback.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0