Registers a control for postback. This method is used for postback controls inside an UpdatePanel control that would otherwise perform asynchronous postbacks.
public void RegisterPostBackControl (
Public Sub RegisterPostBackControl ( _
control As Control _
virtual void RegisterPostBackControl (
public final void RegisterPostBackControl (
- control (Control)
The Control to register for postback.
Use the RegisterPostBackControl(Control) method to register postback controls inside of an UpdatePanel control to update an entire page instead of updating only the UpdatePanel control's content. Using this method to register a postback control outside of an UpdatePanel control has no affect because these controls do not perform asynchronous postbacks by default.
If you want to register a control inside of an UpdatePanel control as a postback control, use the designer's UpdatePanelTrigger Collection Editor dialog box or add the trigger declaratively by using the <Triggers> element of the UpdatePanel control.
Assembly: System.Web.Extensions (Module: System.Web.Extensions)