The Control.EnsureID method generates an identifier for controls that are contained in another control. Identifiers are generated only for controls that do not have a value assigned to the Control.ID property.
Requirements
Namespace: System.Web.UI Assembly: System.Web (in System.Web.dll) Assembly Versions: 2.0.0.0