ESRI.ArcGIS.ADF.Web.UI.WebControls
BuddyControl Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Toc Class : BuddyControl Property




The ID of the Map control from which the Toc derives its information.

Syntax

Visual Basic (Declaration) 
<NotifyParentPropertyAttribute(True)>
<ResDescriptionAttribute("The Map control ID to which the Toc will be buddied to.")>
<PersistenceModeAttribute()>
<ResCategoryAttribute("Buddy Controls")>
<DefaultValueAttribute()>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.BuddyControlEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
Public Property BuddyControl As String
Visual Basic (Usage)Copy Code
Dim instance As Toc
Dim value As String
 
instance.BuddyControl = value
 
value = instance.BuddyControl
C# 
[NotifyParentPropertyAttribute(true)]
[ResDescriptionAttribute("The Map control ID to which the Toc will be buddied to.")]
[PersistenceModeAttribute()]
[ResCategoryAttribute("Buddy Controls")]
[DefaultValueAttribute()]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.BuddyControlEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
public string BuddyControl {get; set;}

Remarks

A Toc control always works in conjunction with a Map control. The Map provides information about the resources and layers in the map.

See Also

© 2010 All Rights Reserved.