Microsoft
70-515 · Question #1
70-515 Question #1: Real Exam Question with Answer & Explanation
Sign in or unlock 70-515 to reveal the answer and full explanation for question #1. The question stem and answer options stay visible for context.
Question
You are implementing an ASP.NET application that uses data-bound GridView controls in multiple pages. You add JavaScript code to periodically update specific types of data items in these GridView controls. You need to ensure that the JavaScript code can locate the HTML elements created for each row in these GridView controls, without needing to be changed if the controls are moved from one pa to another. What should you do?
Options
- AReplace the GridView control with a ListView control.
- BSet the ClientIDMode attribute to Predictable in the web.config file.
- CSet the ClientIDRowSuffix attribute of each unique GridView control to a different value.
- DSet the @ OutputCache directive's VaryByControl attribute to the ID of the GridView control.
Unlock 70-515 to see the answer
You've previewed enough free 70-515 questions. Unlock 70-515 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.