What should you set the ClientIDMode property of the DropDownList to?

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?
A. AutoID
B. Static
C. Inherit
D. Predictable

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.