다음을 통해 공유


DataSourceReplacer.ControlID Property

Gets or sets the ID of the data-bound control whose data source will be replaced, specified as a slash-separated ID path.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Property ControlID As String
    Get
    Set
'Usage
Dim instance As DataSourceReplacer
Dim value As String

value = instance.ControlID

instance.ControlID = value
public string ControlID { get; set; }

Property Value

Type: System.String
The ID of the data-bound control whose data source will be replaced.

Remarks

This property value can contain forward slash characters (/) to specify a hierarchical search path for the data-bound control. For example, “abc/xyz” will first search the master page for a control with the ID “abc”, and that control for a child control with the ID “xyz”. If not found, the controls on the current page are searched, then finally all controls are searched.

See Also

Reference

DataSourceReplacer Class

DataSourceReplacer Members

Microsoft.SharePoint.Portal.WebControls Namespace