ControlsHelperGetPostBackEventReference Method (Control, String, Boolean, Boolean) |
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: 10.0.0
Syntax public static string GetPostBackEventReference(
Control control,
string argument = null,
bool registerForEventValidation = false,
bool registerAsyncPostbackInUpdatePanel = true
)
Parameters
- control
- Type: System.Web.UIControl
Control - argument (Optional)
- Type: SystemString
Argument - registerForEventValidation (Optional)
- Type: SystemBoolean
Indicates if the event reference should be registred for validation - registerAsyncPostbackInUpdatePanel (Optional)
- Type: SystemBoolean
If true registers async postback in update panel, otherwise registers full postback
Return Value
Type:
StringSee Also