nerdexam
Microsoft

70-515 · Question #91

You are developing an ASP.NET Web page. You add a data-bound GridView control. The GridView contains a TemplateField that includes a DropDownList. You set the GridViews ClientIDMode property to…

The correct answer is D. Predictable. See the full explanation below for the reasoning.

Question

You are developing an ASP.NET Web page. You add a data-bound GridView control. The GridView contains a TemplateField that includes a DropDownList. You set the GridViews ClientIDMode property to Static, and you set the ClientIDRowSuffix property to ProductID. You need to be able to reference individual DropDownList controls from client-side script by using the ProductID. What should you set the ClientIDMode property of the DropDownList to?

Options

  • AAutoID
  • BStatic
  • CInherit
  • DPredictable

How the community answered

(63 responses)
  • A
    16% (10)
  • B
    3% (2)
  • C
    8% (5)
  • D
    73% (46)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice