Triggers section of the UpdatePanel- ASP.NET AJAX .
Q. A button control is located outside the UpdatePanel control. You need that a given button control outside of the UpdatePanel should cause the UpdatePanel to execute an update with partial update. What will you do to achieve this task?- Published on 24 Jul 15a.
- Add a PostBackTrigger control to the Triggers section of the UpdatePanel. - Set the ControlID attribute of the AsyncPostBackTrigger control to the ID of the Button control.
b.
- Add a Trigger control to the Triggers section of the UpdatePanel. - Set the ControlID attribute of the AsyncPostBackTrigger control to the ID of the Button control.
c.
- Add an AsyncPostBackTrigger control to the Triggers section of the UpdatePanel. - Set the ControlID attribute of the AsyncPostBackTrigger control to the ID of the Button control.
d. None of the above.
ANSWER:
- Add an AsyncPostBackTrigger control to the Triggers section of the UpdatePanel. - Set the ControlID attribute of the AsyncPostBackTrigger control to the ID of the Button control.