Multiple choice technology programming languages

Select the control which does not have any visible interface ?

  1. Datalist

  2. DropdownList

  3. Repeater

  4. Datagrid

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The Repeater control has no default visible interface - it's a template-driven control that renders whatever templates you define (HeaderTemplate, ItemTemplate, FooterTemplate, etc.). Unlike DataList, DropDownList, or DataGrid which have predefined layouts and visible structure, the Repeater gives complete control over rendering. This flexibility makes it ideal for custom data presentation but requires more development effort.

AI explanation

To answer this question, we need to understand the different controls and their interfaces.

Option A) Datalist - This option is incorrect because a Datalist control provides a visible interface, usually in the form of a dropdown list, where users can select an option from a predefined set of values.

Option B) DropdownList - This option is incorrect because a DropdownList control provides a visible interface, usually in the form of a dropdown list, where users can select an option from a predefined set of values.

Option C) Repeater - This option is correct because a Repeater control does not have any visible interface. It is used to dynamically repeat a specified template for each item in a data source, but it does not provide any visible UI elements itself.

Option D) Datagrid - This option is incorrect because a Datagrid control provides a visible interface to display and manipulate tabular data. It typically includes features such as sorting, paging, and editing of data.

The correct answer is C) Repeater. This option is correct because the Repeater control does not have any visible interface.