ControlsHelperGetPostBackEventReference Method (Control, PostBackOptions, Boolean, Boolean, Control) |
Gets the postback event reference to the given control.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
Syntax public static string GetPostBackEventReference(
Control control,
PostBackOptions options,
bool registerForEventValidation,
bool registerAsyncPostbackInUpdatePanel,
Control locationControl = null
)
Parameters
- control
- Type: System.Web.UIControl
Control - options
- Type: System.Web.UIPostBackOptions
Options - registerForEventValidation
- Type: SystemBoolean
Indicates if the event reference should be registered for validation - registerAsyncPostbackInUpdatePanel
- Type: SystemBoolean
If true registers async postback in update panel, otherwise registers full postback - locationControl (Optional)
- Type: System.Web.UIControl
Optional control used as reference for postback source. Postback target can be different than postback source.
Return Value
Type:
StringSee Also