Export (0) Print
Expand All
Expand Minimize

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

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Creates a PostBackOptions object that represents the postback behavior of the specified button control.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

PostBackOptions IPostBackContainer.GetPostBackOptions (
	IButtonControl buttonControl
)
Not applicable.

Parameters

buttonControl

The button control for which to create the callback script.

Return Value

A PostBackOptions that represents the postback behavior of the specified button control.

Exception typeCondition

ArgumentNullException

The buttonControl parameter contains a null reference (Nothing in Visual Basic).

InvalidOperationException

buttonControl causes validation and is attempting to post back to the same container it validates.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2015 Microsoft