Microsoft
70-515 · Question #70
You are implementing an ASP.NET AJAX page. You add two UpdatePanel controls named pnlA and pnlB. pnlA contains an UpdatePanel control named pnlAInner in its content template. You have the following…
The correct answer is A. Set the UpdateMode of pnlA and pnlB to Conditional. See the full explanation below for the reasoning.
Question
You are implementing an ASP.NET AJAX page. You add two UpdatePanel controls named pnlA and pnlB. pnlA contains an UpdatePanel control named pnlAInner in its content template. You have the following requirements.
- Update panels pnlA and pnlB must refresh their content only when
controls that they contain cause a postback.
- Update panel pnlAInner must refresh its content when controls in
either pnlA or pnlB or pnlAInner cause a postback. You need to configure the panels to meet the requirements. What should you do?
Options
- ASet the UpdateMode of pnlA and pnlB to Conditional.
- BSet the UpdateMode of pnlA and pnlB to Conditional.
- CSet the UpdateMode of pnlA and pnlB to Always.
- DSet the UpdateMode of pnlA and pnlB to Always.
How the community answered
(54 responses)- A74% (40)
- B9% (5)
- C4% (2)
- D13% (7)
Community Discussion
No community discussion yet for this question.