Click or drag to resize
ControlsHelperGetPostBackEventReference Method (Control, PostBackOptions, Boolean, Boolean)
Gets the postback event reference to the given control.

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 9.0.0
Syntax
C#
public static string GetPostBackEventReference(
	Control control,
	PostBackOptions options,
	bool registerForEventValidation,
	bool registerAsyncPostbackInUpdatePanel
)

Parameters

control
Type: System.Web.UIControl
Control
options
Type: System.Web.UIPostBackOptions
Options
registerForEventValidation
Type: SystemBoolean
Indicates if the event reference should be registred for validation
registerAsyncPostbackInUpdatePanel
Type: SystemBoolean
If true registers async postback in update panel, otherwise registers full postback

Return Value

Type: String
See Also