PostBackOptions Constructors

Definitie

Initialiseert een nieuw exemplaar van de PostBackOptions klasse.

Overloads

Name Description
PostBackOptions(Control)

Initialiseert een nieuw exemplaar van de PostBackOptions klasse met de opgegeven doelbeheergegevens.

PostBackOptions(Control, String)

Initialiseert een nieuw exemplaar van de PostBackOptions klasse met de opgegeven doelbeheer- en argumentgegevens.

PostBackOptions(Control, String, String, Boolean, Boolean, Boolean, Boolean, Boolean, String)

Initialiseert een nieuw exemplaar van de PostBackOptions klasse met de opgegeven waarden voor de eigenschappen van het exemplaar.

PostBackOptions(Control)

Initialiseert een nieuw exemplaar van de PostBackOptions klasse met de opgegeven doelbeheergegevens.

public:
 PostBackOptions(System::Web::UI::Control ^ targetControl);
public PostBackOptions(System.Web.UI.Control targetControl);
new System.Web.UI.PostBackOptions : System.Web.UI.Control -> System.Web.UI.PostBackOptions
Public Sub New (targetControl As Control)

Parameters

targetControl
Control

De Control gebeurtenis die de postback-gebeurtenis ontvangt.

Zie ook

Van toepassing op

PostBackOptions(Control, String)

Initialiseert een nieuw exemplaar van de PostBackOptions klasse met de opgegeven doelbeheer- en argumentgegevens.

public:
 PostBackOptions(System::Web::UI::Control ^ targetControl, System::String ^ argument);
public PostBackOptions(System.Web.UI.Control targetControl, string argument);
new System.Web.UI.PostBackOptions : System.Web.UI.Control * string -> System.Web.UI.PostBackOptions
Public Sub New (targetControl As Control, argument As String)

Parameters

targetControl
Control

De Control gebeurtenis die de postback-gebeurtenis ontvangt.

argument
String

De optionele parameter die is doorgegeven tijdens de postback-gebeurtenis.

Zie ook

Van toepassing op

PostBackOptions(Control, String, String, Boolean, Boolean, Boolean, Boolean, Boolean, String)

Initialiseert een nieuw exemplaar van de PostBackOptions klasse met de opgegeven waarden voor de eigenschappen van het exemplaar.

public:
 PostBackOptions(System::Web::UI::Control ^ targetControl, System::String ^ argument, System::String ^ actionUrl, bool autoPostBack, bool requiresJavaScriptProtocol, bool trackFocus, bool clientSubmit, bool performValidation, System::String ^ validationGroup);
public PostBackOptions(System.Web.UI.Control targetControl, string argument, string actionUrl, bool autoPostBack, bool requiresJavaScriptProtocol, bool trackFocus, bool clientSubmit, bool performValidation, string validationGroup);
new System.Web.UI.PostBackOptions : System.Web.UI.Control * string * string * bool * bool * bool * bool * bool * string -> System.Web.UI.PostBackOptions
Public Sub New (targetControl As Control, argument As String, actionUrl As String, autoPostBack As Boolean, requiresJavaScriptProtocol As Boolean, trackFocus As Boolean, clientSubmit As Boolean, performValidation As Boolean, validationGroup As String)

Parameters

targetControl
Control

De Control gebeurtenis die de postback-gebeurtenis ontvangt.

argument
String

De optionele parameter die is doorgegeven tijdens de postback-gebeurtenis.

actionUrl
String

Het doel van de postback.

autoPostBack
Boolean

true om het formulier automatisch terug te plaatsen op de server als reactie op een gebruikersactie; anders, false.

requiresJavaScriptProtocol
Boolean

true als het javascript: voorvoegsel vereist is; falseanders.

trackFocus
Boolean

true als de postback-gebeurtenis de pagina naar de huidige schuifpositie moet retourneren en de focus naar het doel besturingselement moet terugkeren; anders, false.

clientSubmit
Boolean

true als de postback-gebeurtenis kan worden gegenereerd door clientscript; anders, false.

performValidation
Boolean

true indien validatie aan de clientzijde vereist is voordat de postback-gebeurtenis plaatsvindt; anders, false.

validationGroup
String

De groep besturingselementen waarvoor PostBackOptions validatie wordt veroorzaakt wanneer deze wordt teruggezet naar de server.

Uitzonderingen

targetControl is null.

Van toepassing op