INamingContainer

INamingContainer

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}



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net