SetControlID Method

WebFormsRootDesigner.SetControlID Method (Control, String)

 

Sets the ID property of the specified control with the specified string.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

public virtual void SetControlID(
	Control control,
	string id
)

Parameters

control
Type: System.Web.UI.Control

The control on which to set the ID.

id
Type: System.String

The string to set as the ID for the control.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft