System.Web.UI (system.web.dll)interface

This is a marker interface. When ASP.NET renders a control that implements INamingContainer, it creates a new namespace and uses it for any child controls. This guarantees that the child control IDs will be unique on the page. This interface is used for controls that dynamically generate a series of similar controls, such as System.Web.UI.WebControls.Repeater and System.Web.UI.WebControls.RadioButtonList. If you are developing your own composite control, you will also need to implement this interface.

public interface INamingContainer {
// No public or protected members

Implemented By

TemplateControl, System.Web.UI.MobileControls.{List, ObjectList, TemplateContainer}, System.Web.UI.WebControls.{CheckBoxList, DataGrid, DataGridItem, DataList, DataListItem, RadioButtonList, Repeater, RepeaterItem}

    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace