Export (0) Print
Expand All

Control.EnsureID Method

Creates an identifier for controls that do not have an identifier assigned.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)

protected void EnsureID ()
protected void EnsureID ()
protected function EnsureID ()
Not applicable.

The 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 ID property.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft