Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

ControlID Property

Gets or sets a string that represents the ID of the control that is a trigger for the UpdatePanel control.

Syntax

CSharp

[IDReferencePropertyAttribute]
[DefaultValueAttribute("")]
[CategoryAttribute("Behavior")]
public string ControlID { get; set; }

VisualBasic

<IDReferencePropertyAttribute> _
<DefaultValueAttribute("")> _
<CategoryAttribute("Behavior")> _
Public Property ControlID As String

ManagedCPlusPlus

[IDReferencePropertyAttribute]
[DefaultValueAttribute(L"")]
[CategoryAttribute(L"Behavior")]
public:
String^ ControlID {
	String^ get ();
	void set (String^ value);
}

JSharp

/** @property */
/** @property */

Value

Return Value

A string that contains the ID of the control. The default is an empty string ("").

Remarks

The ControlID property must be set to the ID of a control that implements the INamingContainer, IPostBackDataHandler, or IPostBackEventHandler interface.

Assembly: System.Web.Extensions (Module: System.Web.Extensions)