An UpdatePanel control defined on a page. Button control is placed outside of the UpdatePanel .How to cause the UpdatePanel to execute an update.

Options
- Set the Trigger attribute of the UpdatePanel to the ID of the Button control.
- Set the AsyncPostBackTrigger attribute of the Button control to the ID of the UpdatePanel.
- Place the button control on the update panel without script manager.
- 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.


CORRECT 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.

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement